Search A2A agents
search_agentsFind peer A2A agents by intent to delegate tasks when a single API call or MCP tool is not enough. Returns agent cards, endpoints, skills, health, latency, and x402 support.
Instructions
Search A2A agents only (peer agents you can delegate a task to) by intent.
A2A agents publish an agent card and a JSON-RPC endpoint. Use this when
the task is better handed to another agent than done with a single API
call (search) or an MCP tool (search_mcp_servers). Read-only.
Args: intent: The task or capability to delegate, plain language. top_k: Max number of agents to return (default 5, max 25). x402_only: If true, only return agents that accept x402 payment.
Returns:
{intent, count, agents}. Each agent has slug, name,
description, endpoint_url, card_url, skill_names,
auth_schemes, x402_supported, health, latency_ms and
conformance. Pass slug to get_agent for the full card.
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": {
"intent": "<intent>"
},
"name": "search_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| intent | Yes | ||
| x402_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||