vega_api_call
Universal Dynamic API Caller. Invoke ANY Vega Platform endpoint dynamically (even newly created ones) by specifying the HTTP method, path, and parameters. Transparently manages Bearer JWT authentication, query strings, and JSON request bodies.
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": {
"method": "<method>",
"path": "<path>"
},
"name": "vega_api_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request payload for POST, PUT, PATCH requests | |
| path | Yes | Relative API endpoint path (e.g. "/api/devices/864540081293581", "/api/fleets", or "/v1/vehicles/current-location") | |
| method | Yes | HTTP verb | |
| params | No | Path variables or URL query parameters as key-value pairs | |
| confirm_destructive_action | No | Safety confirmation: Must be set to true if calling destructive endpoints (DELETE, immobilizer engine cut, etc.) |