Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.08 KB

File metadata and controls

31 lines (22 loc) · 1.08 KB

ToolCall

Properties

Name Type Description Notes
id str Tool-call id; the matching "tool" message echoes it as `tool_call_id`.
type str Tool-call kind. Always "function" today. [optional] [default to 'function']
function ToolCallFunction The function invoked, with its arguments.

Example

from everos_cloud.models.tool_call import ToolCall

# TODO update the JSON string below
json = "{}"
# create an instance of ToolCall from a JSON string
tool_call_instance = ToolCall.from_json(json)
# print the JSON string representation of the object
print(ToolCall.to_json())

# convert the object into a dict
tool_call_dict = tool_call_instance.to_dict()
# create an instance of ToolCall from a dict
tool_call_from_dict = ToolCall.from_dict(tool_call_dict)

[Back to Model list] [Back to API list] [Back to README]