Python class
ParsedToolResponse
ParsedToolResponseโ
class max.interfaces.ParsedToolResponse(content=None, tool_calls=<factory>)
Bases: object
Result of parsing a complete model response for tool calls.
-
Parameters:
-
- content (str | None)
- tool_calls (list[ParsedToolCall])
contentโ
The text content from the response (before/after tool calls).
tool_callsโ
tool_calls: list[ParsedToolCall]
The list of ParsedToolCall objects extracted from the response.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!