Skip to content

AgentStepSchema

katanakit-js / AgentStepSchema

const AgentStepSchema: ZodObject<{
toolCalls: ZodArray<ZodObject<{
function: ZodObject<{
arguments: ZodString;
name: ZodString;
}, $strip>;
id: ZodString;
type: ZodLiteral<"function">;
}, $strip>>;
toolResults: ZodArray<ZodUnknown>;
}, $strip>;

Defined in: schemas/core.schema.ts:193

One round of tool execution inside the agent loop.