discover_operations
Find API operations matching a natural-language query by searching an OpenAPI schema, returning operation details (method, URL, parameters) to enable subsequent execution.
Instructions
Discover which API operations match a natural-language query. Uses RAG over the
loaded OpenAPI schema; returns a list of operation entries (operation name, method,
url, parameters with name/type/required). Use this to find tool IDs, then call
execute_operation with the chosen operation_name and params. No execution happens here.
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>"
},
"name": "discover_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |