Scripted Tool Call • AI Agent SDK

ScriptedToolCall: One tool call the double should emit.

Next

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.

Diagram

uses

returns

Agent

Tool: ScriptedToolCall

Result

Properties

ResponseField str

No description available.

ResponseField Dict[str, Any]

No description available.

ResponseField Optional[str]

No description available.

Source

View on GitHub

praisonaiagents/model_harness/scripted.py at line 98


Related Documentation