Allow Tool • Rust AI Agent SDK

allow_tool: Add allowed tool

allow_tool

Method

</div>

This is a method of the AutonomyConfig class in the config module.

Add allowed tool

Diagram

uses

returns

Agent

Tool: allow_tool

Result

Signature

python
def allow_tool(mut self, tool: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation