Allow Network • Rust AI Agent SDK

allow_network: Allow network access

allow_network

Method

</div>

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

Allow network access

Signature

python
def allow_network(mut self, allow: bool) -> Self

Parameters

ParamField bool

No description available.

Returns

ResponseField Self

The result of the operation.