ContentBlock:
| { text: string; type: "text" }
| {
id: string;
input: unknown;
name: string;
rawInput?: string;
type: "tool_call";
}
| { provider: string; type: "opaque"; value: unknown }
Type Declaration
- { text: string; type: "text" }
- {
id: string;
input: unknown;
name: string;
rawInput?: string;
type: "tool_call";
}
- { provider: string; type: "opaque"; value: unknown }
inputis the parsed JSON;rawInputis set instead when it did not parse.