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
Signature
def tool_call(mut self, tool_call: ToolCallData) -> SelfParameters
ParamField
ToolCallDataNo description available.
Returns
ResponseField
SelfThe result of the operation.