Tool Calls • AI Agent SDK

tool_calls: Script a turn in which the model calls several tools at once.

tool_calls

Method

</div>

This is a method of the ScriptedModel class in the scripted module.

Script a turn in which the model calls several tools at once.

Diagram

uses

returns

Agent

Tool: tool_calls

Result

Signature

python
def tool_calls() -> ScriptedReply

Returns

ResponseField ScriptedReply

class:ScriptedReply carrying all of them.

Uses

  • ScriptedReply

Source

View on GitHub

praisonaiagents/model_harness/scripted.py at line 329


Related Documentation