register_agent
Register an A2A agent with the bridge server to enable communication by fetching and storing its AgentCard from a provided URL.
Instructions
Registers an Agent-to-Agent (A2A) agent with the bridge server.
This tool fetches the agent's information (AgentCard) from the given URL and stores it in the server's list of registered agents, making it available for communication.
Args: url (str): The base URL of the A2A agent to register. This URL should point to where the agent's card can be resolved. ctx (Context): The MCP context, used for logging information back to the client.
Returns: Dict[str, Any]: A dictionary containing the registration status. On success, it includes the status and the registered agent's details. On error, it includes the status and an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |