Allowed Path • Rust AI Agent SDK

allowed_path: Add allowed path

allowed_path

Method

</div>

This is a method of the SecurityConfig class in the mcp module.

Add allowed path

Signature

python
def allowed_path(mut self, path: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.