Update function
update_functionModify fields of an existing CoolerControl fan function while leaving unset fields unchanged. Update a function by uid or exact name to adjust its behavior safely.
Instructions
Change fields of an existing function; fields not given keep their values.
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": {
"function": "<function>",
"changes": "<changes>"
},
"name": "update_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | Fields to change | |
| function | Yes | function uid or exact name |