Ask a question to get started
Enter to sendā¢Shift+Enter new line
parse_tool_calls( raw_tool_calls: list[dict], *, partial: bool = False, strict
raw_tool_calls
list[dict]
The raw tool calls to parse.
partial
bool
False
Whether to parse partial JSON.
strict
Whether to allow non-JSON-compliant strings.
return_id
True
Parse a list of tool calls.
Whether to return the tool call id.