Is Connected • Rust AI Agent SDK

is_connected: Check if connected

is_connected

Method

</div>

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

Check if connected

Signature

python
def is_connected(&self) -> bool

Returns

ResponseField bool

The result of the operation.