Call CoolerControl API
call_apiSend direct GET, POST, PUT, PATCH, or DELETE requests to any CoolerControl API endpoint to read or change daemon state; use dedicated validated tools when available.
Instructions
Call any endpoint from list_api_endpoints directly. Prefer the dedicated tools when one fits; they validate inputs. Non-GET calls change daemon state and need a token with Write Access.
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 |
|---|---|---|---|
| body | No | JSON body | |
| form | No | multipart/form-data body (LCD image endpoints) | |
| path | Yes | Concrete path, e.g. /devices/<uid>/settings/fan1/lighting | |
| text | No | Plain-text body, for endpoints that take text | |
| query | No | ||
| method | Yes |