unregister_agent
Remove an agent from the MCP-A2A-Gateway server to disconnect it from the bridge and delete associated tasks.
Instructions
Unregisters an A2A agent from the bridge server.
This also removes any tasks associated with the unregistered agent.
Args: url (str): The URL of the agent to unregister. ctx (Context): The MCP context for logging.
Returns: Dict[str, Any]: A dictionary confirming the action, including the name of the unregistered agent and the number of tasks that were removed. Returns an error if the agent was not found.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |