Query Nexus
query_nexusSend GET or POST requests to the local Nexus OpenAI-compatible gateway path to fetch model lists or chat completions and return the JSON response or an error.
Instructions
Call the Nexus OpenAI-compatible gateway with a path. Use list_models with backend=nexus for model names. Local HTTP. Returns the gateway JSON or an error.
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": "query_nexus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON body for POST. Omit for GET. | |
| path | No | Gateway path such as /v1/models or /v1/chat/completions. Default /v1/models. | /v1/models |
| method | No | HTTP method. GET or POST. Default GET. | GET |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |