Variable chatLocalToolResultSchemaConst
chatLocalToolResultSchema: ZodDiscriminatedUnion<
"status",
[
ZodObject<
{ call_id: ZodString; content: ZodString; status: ZodLiteral<"ok"> },
"strip",
ZodTypeAny,
{ call_id: string; content: string; status: "ok" },
{ call_id: string; content: string; status: "ok" },
>,
ZodObject<
{
call_id: ZodString;
code: ZodString;
message: ZodString;
status: ZodLiteral<"error">;
},
"strip",
ZodTypeAny,
{ call_id: string; code: string; message: string; status: "error" },
{ call_id: string; code: string; message: string; status: "error" },
>,
ZodObject<
{
call_id: ZodString;
reason: ZodString;
status: ZodLiteral<"cancelled">;
},
"strip",
ZodTypeAny,
{ call_id: string; reason: string; status: "cancelled" },
{ call_id: string; reason: string; status: "cancelled" },
>,
],
> = ...
One terminal local-tool outcome returned by the owning client connection.