Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.65 KB

AiToolCallData.md

File metadata and controls

35 lines (27 loc) · 1.65 KB

AiToolCallData

Identifies a pending tool call to resume — mirrors the library ToolCallData (its serializable fields).

Properties

Name Type Description Notes
thread_id str Thread the assistant message belongs to.
message_id str Storage id of the assistant message holding the tool call.
idx float Index of the tool-call content part inside message.content.
message AiThreadMessageLike Snapshot of the assistant message at the time the tool call surfaced.
action_args AiActionArgs Per-request engine options: extra tools, reasoning, prompt override. [optional]
entity_id str Optional entity (room) scope for profile resolution. [optional]
profile_id str Session-level profile override for this request only. [optional]

Example

from docspace_api_sdk.models.ai_tool_call_data import AiToolCallData

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

# convert the object into a dict
ai_tool_call_data_dict = ai_tool_call_data_instance.to_dict()
# create an instance of AiToolCallData from a dict
ai_tool_call_data_from_dict = AiToolCallData.from_dict(ai_tool_call_data_dict)

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