smart_api_call
Translates natural language queries into executable API calls, routing them to the appropriate microservice endpoint (os-order) in local or QA environments.
Instructions
Intelligent API routing from natural language queries. Available services: os-order. Environments: local, qa.
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": "smart_api_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body for POST/PUT | |
| query | Yes | Natural language query | |
| headers | No | Additional headers | |
| autoExecute | No | Auto-execute detected call |