Skip to content

AiToolCallSchema

katanakit-js / AiToolCallSchema

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

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

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