IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Python class

ParsedToolResponse

ParsedToolResponseโ€‹

class max.pipelines.modeling.types.ParsedToolResponse(content=None, tool_calls=<factory>)

source

Bases: object

Result of parsing a complete model response for tool calls.

Parameters:

contentโ€‹

content: str | None = None

source

The text content from the response (before/after tool calls).

tool_callsโ€‹

tool_calls: list[ParsedToolCall]

source

The list of ParsedToolCall objects extracted from the response.