api_lookup
Look up any public API for an agent: finds its OpenAPI spec and llms.txt/docs, and returns base URL, auth scheme, rate-limit and error notes, key endpoints and source links (LLM-condensed, cached 7d). Input: {api} (name like 'stripe', a domain, or docs URL), optional {question}. Costs $0.005 USDC per call via x402 (Base preferred, or Solana); no charge on errors. Free tier: pass free_trial=true (10 calls/day).
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": {
"api": "<api>"
},
"name": "api_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | API name, domain or docs URL | |
| question | No | optional focus, e.g. 'how to create a payment' | |
| free_trial | No | set true to use the free tier (10 calls/day) without payment | |
| x402_payment | No | base64 x402 payment payload; omit to receive payment requirements |