get_agent_card
Retrieve an agent's capability card including name, description, skills, PeerID, and DID. Query a specific peer or get your own node's card.
Instructions
Get the capability card (A2A Agent Card) for a peer or this node.
Returns the agent's name, description, skills, PeerID, and DID.
Args: peer_id: PeerID of the agent to query. Leave empty or "self" to get this node's card.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_agent_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |