discover_and_call
Find the matching API for your natural language query and call it with a JSON payload. Combines discovery and execution in one step.
Instructions
One-shot: find the best matching API for your query and call it immediately. Combines discover + call in a single step.
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": {
"query": "<query>",
"payload": "<payload>"
},
"name": "discover_and_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language description of the capability you need | |
| payload | Yes | JSON payload to send to the matched service |