Add Tool Calls • Rust AI Agent SDK

add_tool_calls: Add tool calls to return with next response

add_tool_calls

Method

</div>

This is a method of the MockLlmProvider class in the llm module.

Add tool calls to return with next response

Diagram

uses

returns

Agent

Tool: add_tool_calls

Result

Signature

python
def add_tool_calls(&self, calls: Vec<ToolCall>) -> ()

Parameters

ParamField Vec&lt;ToolCall&gt;

No description available.

Returns

ResponseField ()

The result of the operation.


Related Documentation