Unregister Agent • AI Agent SDK

unregister_agent: Unregister an agent from the gateway.

unregister_agent

Method

</div>

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

Unregister an agent from the gateway.

Diagram

Input Data

Agent: unregister_agent

Output Result

Signature

python
def unregister_agent(agent_id: str) -> bool

Parameters

ParamField str

The agent ID to unregister

Returns

ResponseField bool

True if agent was unregistered, False if not found

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1389


Related Documentation