Find API for Task
find_api_for_taskFind the best APIs for a natural-language physical-world task. Use this for open-ended task or outcome-based recommendations; use search_apis when you already know exact filters, get_api for one known API, or compare_apis for known candidates. Returns an authoritative canonical structured_results shortlist plus a best-effort AI comparison restricted to that shortlist. The canonical engine now applies Verified/High capability evidence before ranking: explicit hard requirements expressed with terms such as must, required, no or without can exclude a candidate only when verified evidence contradicts them. Unknown evidence remains eligible and is surfaced as uncertainty. requirements.mcp, openapi and auth are translated into explicit requirements; categories and capabilities remain task-shaping hints. free_tier and min_readiness are accepted for compatibility but are not hard filters.
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": {
"task": "<task>"
},
"name": "find_api_for_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Required natural-language goal or workflow, for example 'connect to a car and predict weather on the route'. Describe the desired outcome rather than naming a specific API. | |
| limit | No | Backward-compatible parameter. The canonical browser-parity workflow always produces five structured candidates before the AI comparison, even when another value is supplied. | |
| requirements | No | Optional task requirements appended before canonical ranking. categories and capabilities shape task intent. mcp=Yes, openapi=Yes and auth are expressed as hard task requirements and are evaluated against verified evidence; Unknown does not count as a confirmed contradiction and remains eligible with an uncertainty. free_tier and min_readiness are accepted for backward compatibility but are not hard filters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai | Yes | ||
| name | Yes | ||
| task | Yes | ||
| method | No | ||
| timing_ms | No | ||
| ai_comparison | No | Best-effort grounded explanation of only the structured_results candidates. | |
| snapshot_date | No | ||
| engine_version | No | ||
| coverage_status | No | ||
| effective_query | No | ||
| grounding_policy | Yes | ||
| source_endpoints | No | ||
| coverage_warnings | No | ||
| structured_results | Yes | Canonical deterministic shortlist. This is the authoritative result set. | |
| compatibility_warnings | No |