Chat With Tools • Rust AI Agent SDK

chat_with_tools: Chat with tools

chat_with_tools

Async

Method

</div>

This is a method of the LlmProtocol class in the protocols module.

Chat with tools

Diagram

uses

returns

Agent

Tool: chat_with_tools

Result

Signature

python
async def chat_with_tools(
        &self,
        messages: &[LlmMessage],
        tools: &[ToolSchema],
    ) -> Result<LlmResponse>

Parameters

ParamField &[LlmMessage]

No description available.

ParamField &[ToolSchema]

No description available.

Returns

Rust Tools Rust Code Execution Rust Web Search