Skip to content
0

katanakit-js / AgentStepSchema

Variable: AgentStepSchema ​

ts
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: src/schemas/core.schema.ts:119

One round of tool execution inside the agent loop.

Released under the MIT License.