Tool Call • Rust AI Agent SDK

tool_call: Set tool call

tool_call

Method

</div>

This is a method of the StreamEvent class in the streaming module.

Set tool call

Diagram

uses

returns

Agent

Tool: tool_call

Result

Signature

python
def tool_call(mut self, tool_call: ToolCallData) -> Self

Parameters

ParamField ToolCallData

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation