Scripted Tool Call • AI Agent SDK
ScriptedToolCall: One tool call the double should emit.
ScriptedToolCall
Defined in the scripted module.
AI Agent
One tool call the double should emit.
Attributes: name: Tool function name, matching a tool given to the agent. arguments: Arguments dict; serialised to JSON exactly as a provider would. id: Optional tool-call id. Generated when omitted.
Properties
ResponseField
strNo description available.
ResponseField
Dict[str, Any]No description available.
ResponseField
Optional[str]No description available.
Source
View on GitHubpraisonaiagents/model_harness/scripted.py at line 98