All files / src/objects Tool.tsx

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15                             
/**
 * A built-in tool from svc-ai's registry.
 *
 * There is no `Tool` resource any more: a row naming a built-in (or a webhook
 * URL) never reached an invocation, and built-ins are a platform capability
 * rather than something a tenant administers. svc-ai binds its general set to
 * every agent; the one place a user picks among them is a skill-graph node,
 * which resolves the name against this same registry.
 */
export interface AvailableTool {
  name: string;
  description: string;
  schema: Record<string, unknown>;
}