ChatToolMessage - Python SDK

ChatToolMessage method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

Tool response message

Fields

FieldTypeRequiredDescriptionExample
contentcomponents.ChatToolMessageContent✔️Tool response contentThe weather in San Francisco is 72°F and sunny.
rolecomponents.ChatToolMessageRole✔️N/A
tool_call_idstr✔️ID of the assistant message tool call this message responds tocall_abc123