Find a catalog API
find_apiSearches the catalog of ready-made APIs by site, topic words and the output fields wanted. Returns matches best first: api_id and endpoint_id, the site, which requested fields each returns (fields_matched, fields_missing), its inputs (with patterns, examples and allowed values) and required_inputs, how it has run lately (reliability), the site's other APIs and run_with, the run_api call that runs it, with a in its input for each value the caller supplies (run_with.supply says what it takes). A named site's APIs come first. Nothing runs and nothing is charged. next is build_api when nothing covers the fields; next_offset pages on.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The site you want data from: a domain (shop.example), a URL or a name. Matched against each API's site. | |
| limit | No | Matches to return, best first. | |
| topic | No | Words for what the data is about (laptop prices, job listings). Each word is searched on its own. | |
| fields | No | Output fields you need (price, rating, address). Each hit lists which it returns (fields_matched) and which it lacks (fields_missing). | |
| offset | No | Matches to skip: the next_offset of the previous answer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| next | No | ||
| count | Yes | ||
| query | Yes | ||
| total | No | ||
| matches | Yes | ||
| next_offset | No |