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.
Signature
def unregister_agent(agent_id: str) -> boolParameters
ParamField
strThe agent ID to unregister
Returns
ResponseField
boolTrue if agent was unregistered, False if not found
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 1389