Skip to main content

Python class

ParsedToolCall

ParsedToolCall​

class max.interfaces.ParsedToolCall(id, name, arguments)

source

Bases: object

A parsed tool/function call extracted from model output.

Parameters:

arguments​

arguments: str

source

The function arguments as a JSON string.

id​

id: str

source

The unique identifier for this tool call.

name​

name: str

source

The name of the function to call.