Skip to content
0

katanakit-js / AiToolCallSchema

Variable: AiToolCallSchema ​

ts
const AiToolCallSchema: ZodObject<{
  function: ZodObject<{
     arguments: ZodString;
     name: ZodString;
  }, $strip>;
  id: ZodString;
  type: ZodLiteral<"function">;
}, $strip>;

Defined in: src/schemas/ai.schema.ts:13

A single tool call emitted by the model (OpenAI-compatible wire shape).

Released under the MIT License.