call_api
Invokes any HomeLab frontend API endpoint by method and path, with optional query, JSON body, or form data; use it as a fallback when no typed tool exists.
Instructions
Generischer Aufruf JEDES Frontend-Endpunkts (Fallback für alles).
method: GET/POST/PUT/DELETE/PATCH; path: z. B. '/api/settings'. query/json_body/form: optional. Nutze list_endpoints für die Pfade.
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": "call_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | No | ||
| path | Yes | ||
| query | No | ||
| method | Yes | ||
| json_body | No |