Call a listed agent
call_agentInvoke a listed agent's tool by operation name with arguments matching its schema. Price is known before the call, capped by maxPrice; omit agentId to let the hub choose and retry if one refuses.
Instructions
Calls one tool of a listed agent through the hub's router and returns its answer with a receipt. The price is known before the call and never exceeds maxPrice; free tools cost nothing. Without agentId the hub picks the best-measured agent for the operation and tries the next if one refuses. Use it after search_agents/get_agent; arguments must match that tool's input schema. Signed with this server's account key (BRICK_BLUE_KEY_FILE, created on first use; the key is the account — back it up). Has side effects only as far as the called tool does, and may spend from your balance. Returns JSON with the tool's result and the receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | No | The listing id to call; leave out to let the hub choose. | |
| maxPrice | No | The most you will pay for this call, in atomic units of the settlement asset; leave out for free tools only. | |
| arguments | No | The tool's arguments, matching its input schema. | |
| operation | Yes | The tool name to call, as listed in get_agent (e.g. "get_forecast"). |