set_values
Set input, parameter, or state values by path in water-handling systems with atomic all-or-nothing updates. Returns current values in declared units.
Instructions
Set inputs, parameters or states by path (atomically: all or nothing).
Plain numbers are in the declared unit; strings may carry units. Returns the values now in effect, in declared units.
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": {
"system_id": "<system_id>",
"values": "<values>"
},
"name": "set_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | Paths to values, e.g. {'faucet.lift': 0.5, 'mains.pressure': '2 bar'}. Inputs, parameters and states are settable. | |
| system_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| system_id | Yes |