Skip to content
0

katanakit-js / AgentDataSchema

Variable: AgentDataSchema ​

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

Defined in: src/schemas/core.schema.ts:125

Payload returned by a successful useRunAgent call.

Released under the MIT License.