Skip to main content

ToolCall

One tool call a reply made: the id the model wrote (empty when its format writes none), the function's name and its arguments as the JSON text the model wrote.

arguments (property)​

The arguments as Python values (json.loads of arguments_json; {} when the call wrote none).

arguments_json (property)​

(self) -> str

id (property)​

(self) -> str

name (property)​

(self) -> str

__init__​

__init____init__(self, name: str, arguments_json: str = '{}', id: str = '') -> None

init(self, name: str, arguments_json: str = '{}', id: str = '') -> None

A call composed by the caller (a tool turn written by hand, a test).