is_valid_tool_call_item

is_valid_tool_call_item(call_item: dict) -> bool

Check that a dictionary item has at least ‘name’, optionally ‘arguments’ and no other keys to match a tool call JSON

Parameters:
NameDescription
call_itemType: dict