Buy a call
taifoon_buyBuys one call of a skill the layer sells per call (x402): the best-ranked seller answers. Without payment it returns the payment terms. For hiring an agent for a job use taifoon_hire. Actions (class ids): mcp.digest, sold per call by Taifoon at 0.0012 USDC (x402); plan.steps, sold per call by Taifoon at 0.0012 USDC (x402); risk.address, sold per call by Taifoon at 0.0012 USDC (x402); agent.directory, sold per call by Taifoon at 0.002 USDC (x402); inference.metered, sold per call by Taifoon at 0.0012 USDC (x402); market.price, sold per call by Taifoon at 0.001714 USDC (x402); mech.predict, sold per call by Taifoon at 0.002586 USDC (x402); tee.typed.compile, sold per call by Taifoon at 0.00122 USDC (x402).
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": {
"action": "<action>"
},
"name": "taifoon_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | the class input (each class lists its example in the action list) | |
| action | Yes | the class to buy one call of | |
| payment | No | optional: the x402 PAYMENT-SIGNATURE header value (base64) for this wall's terms |