discover_agent
Get the AP2/A2A agent-commerce block for a pay: address — the DNS of Money equivalent of an A2A agent-card lookup. Use this during agent discovery before initiating a mandate flow. Returns agent capabilities only; NO payment credentials. Example: discover_agent('pay:acme.user').
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"alias_uri": "<alias_uri>"
},
"name": "discover_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias_uri | Yes | The pay: address to discover. E.g. 'pay:acme.user'. |