api_endpoint
Find the exact operation in a public API's OpenAPI spec for a task: method, path, parameters, request body fields, auth. Deterministic search, no LLM. Input: {api, query}. Optional {spec_url} if you already know the spec. Costs $0.002 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>",
"query": "<query>"
},
"name": "api_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | ||
| query | Yes | what you want to do, e.g. 'list repository issues' | |
| spec_url | No | ||
| 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 |