Call a coach (paid)
call_coachPaid, from $0.18 per call, settled in USDC on Base over x402. Returns a growth diagnosis, the arithmetic behind it, concrete actions, and a typed deliverable. Without payment this returns the payment requirements as a structured error you can settle and retry. Try sandbox_call first if you only need to see the shape.
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": {
"agent": "<agent>",
"mode": "<mode>",
"messages": "<messages>"
},
"name": "call_coach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | The job to buy. Sending a mode a coach does not sell is a 400, not a fallback. | |
| agent | Yes | Which coach to call. | |
| context | No | Company, metrics, offer and audience. Numbers here buy arithmetic instead of adjectives. | |
| messages | Yes | The conversation so far. At least one entry. | |
| idempotency_key | No | Reuse on a retry of the same job to avoid paying twice. |