Appearance
Interface: Message
Defined in: schema.ts:48
Chat message.
Properties
content
ts
content: string;Defined in: schema.ts:57
Message content. TODO: is it possible to have a list of content blocks? Record<string, unknown>[]
name?
ts
optional name: string;Defined in: schema.ts:74
For tool role.
role
ts
role: string;Defined in: schema.ts:52
Message role.
thinking?
ts
optional thinking: string;Defined in: schema.ts:61
Extended thinking content for assistant messages.
tool_call_id?
ts
optional tool_call_id: string;Defined in: schema.ts:70
Tool call ID.
tool_calls?
ts
optional tool_calls: ToolCall[];Defined in: schema.ts:65
Tool calls.