SynthDCB / data /valid /Home /task_4a8226af /reference_trajectory.json
JamesZhutheThird's picture
Upload SynthDCB dataset
cffba29
Raw History Blame Contribute Delete
138 kB
{ "trajectory_id": "task_4a8226af_reference", "world_id": "task_4a8226af", "task_id": "task_4a8226af", "source": "ground_truth", "records": [ { "kind": "tool_exchange", "call": { "call_id": "call_1", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "air_purifier_1" } } }, "result": { "call_id": "call_1", "turn_id": "turn_1", "sequence": 1, "status": "success", "code": "[PASS]", "data": { "device_id": "air_purifier_1", "tools": [ { "function": "get_fan_speed", "description": "Return the configured fan-speed level. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [], "semantics": { "kind": "read", "property": "fan_speed", "response_key": "fan_speed", "preconditions": { "power": true } } }, { "function": "set_fan_speed", "description": "Set the fan-speed level from 1 through 5. The purifier must be powered; invalid values fail without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 1, "maximum": 5, "multipleOf": 1, "description": "Fan-speed level." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [ "fan_speed" ], "semantics": { "kind": "set", "property": "fan_speed", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_target_air_quality", "description": "Return the configured target air-quality index. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "target_air_quality" ], "writes": [], "semantics": { "kind": "read", "property": "target_air_quality", "response_key": "target_air_quality", "preconditions": { "power": true } } }, { "function": "set_target_air_quality", "description": "Set the target air-quality index from 0 through 500. The purifier must be powered; invalid values fail without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 500, "multipleOf": 1, "description": "Target air-quality index." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "target_air_quality" ], "writes": [ "target_air_quality" ], "semantics": { "kind": "set", "property": "target_air_quality", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_filter_life", "description": "Return the remaining filter life percentage. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "filter_life" ], "writes": [], "semantics": { "kind": "read", "property": "filter_life", "response_key": "filter_life", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 1 } }, { "kind": "tool_exchange", "call": { "call_id": "call_2", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "air_purifier_2" } } }, "result": { "call_id": "call_2", "turn_id": "turn_1", "sequence": 2, "status": "success", "code": "[PASS]", "data": { "device_id": "air_purifier_2", "tools": [ { "function": "get_fan_speed", "description": "Return the configured fan-speed level. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [], "semantics": { "kind": "read", "property": "fan_speed", "response_key": "fan_speed", "preconditions": { "power": true } } }, { "function": "set_fan_speed", "description": "Set the fan-speed level from 1 through 5. The purifier must be powered; invalid values fail without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 1, "maximum": 5, "multipleOf": 1, "description": "Fan-speed level." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [ "fan_speed" ], "semantics": { "kind": "set", "property": "fan_speed", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_target_air_quality", "description": "Return the configured target air-quality index. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "target_air_quality" ], "writes": [], "semantics": { "kind": "read", "property": "target_air_quality", "response_key": "target_air_quality", "preconditions": { "power": true } } }, { "function": "set_target_air_quality", "description": "Set the target air-quality index from 0 through 500. The purifier must be powered; invalid values fail without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 500, "multipleOf": 1, "description": "Target air-quality index." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "target_air_quality" ], "writes": [ "target_air_quality" ], "semantics": { "kind": "set", "property": "target_air_quality", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_filter_life", "description": "Return the remaining filter life percentage. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "filter_life" ], "writes": [], "semantics": { "kind": "read", "property": "filter_life", "response_key": "filter_life", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 2 } }, { "kind": "tool_exchange", "call": { "call_id": "call_3", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "air_purifier_3" } } }, "result": { "call_id": "call_3", "turn_id": "turn_1", "sequence": 3, "status": "success", "code": "[PASS]", "data": { "device_id": "air_purifier_3", "tools": [ { "function": "get_fan_speed", "description": "Return the configured fan-speed level. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [], "semantics": { "kind": "read", "property": "fan_speed", "response_key": "fan_speed", "preconditions": { "power": true } } }, { "function": "set_fan_speed", "description": "Set the fan-speed level from 1 through 5. The purifier must be powered; invalid values fail without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 1, "maximum": 5, "multipleOf": 1, "description": "Fan-speed level." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [ "fan_speed" ], "semantics": { "kind": "set", "property": "fan_speed", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_target_air_quality", "description": "Return the configured target air-quality index. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "target_air_quality" ], "writes": [], "semantics": { "kind": "read", "property": "target_air_quality", "response_key": "target_air_quality", "preconditions": { "power": true } } }, { "function": "set_target_air_quality", "description": "Set the target air-quality index from 0 through 500. The purifier must be powered; invalid values fail without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 500, "multipleOf": 1, "description": "Target air-quality index." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "target_air_quality" ], "writes": [ "target_air_quality" ], "semantics": { "kind": "set", "property": "target_air_quality", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_filter_life", "description": "Return the remaining filter life percentage. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "filter_life" ], "writes": [], "semantics": { "kind": "read", "property": "filter_life", "response_key": "filter_life", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 3 } }, { "kind": "tool_exchange", "call": { "call_id": "call_4", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "air_purifier_4" } } }, "result": { "call_id": "call_4", "turn_id": "turn_1", "sequence": 4, "status": "success", "code": "[PASS]", "data": { "device_id": "air_purifier_4", "tools": [ { "function": "get_fan_speed", "description": "Return the configured fan-speed level. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [], "semantics": { "kind": "read", "property": "fan_speed", "response_key": "fan_speed", "preconditions": { "power": true } } }, { "function": "set_fan_speed", "description": "Set the fan-speed level from 1 through 5. The purifier must be powered; invalid values fail without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 1, "maximum": 5, "multipleOf": 1, "description": "Fan-speed level." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [ "fan_speed" ], "semantics": { "kind": "set", "property": "fan_speed", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_target_air_quality", "description": "Return the configured target air-quality index. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "target_air_quality" ], "writes": [], "semantics": { "kind": "read", "property": "target_air_quality", "response_key": "target_air_quality", "preconditions": { "power": true } } }, { "function": "set_target_air_quality", "description": "Set the target air-quality index from 0 through 500. The purifier must be powered; invalid values fail without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 500, "multipleOf": 1, "description": "Target air-quality index." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "target_air_quality" ], "writes": [ "target_air_quality" ], "semantics": { "kind": "set", "property": "target_air_quality", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_filter_life", "description": "Return the remaining filter life percentage. The purifier must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "filter_life" ], "writes": [], "semantics": { "kind": "read", "property": "filter_life", "response_key": "filter_life", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 4 } }, { "kind": "tool_exchange", "call": { "call_id": "call_5", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "dishwasher_1" } } }, "result": { "call_id": "call_5", "turn_id": "turn_1", "sequence": 5, "status": "success", "code": "[PASS]", "data": { "device_id": "dishwasher_1", "tools": [ { "function": "get_washing_program", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "washing_program" ], "writes": [], "semantics": { "kind": "read", "property": "washing_program", "response_key": "washing_program", "preconditions": { "power": true } } }, { "function": "set_washing_program", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "eco", "normal", "intensive" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "status", "washing_program" ], "writes": [ "washing_program" ], "semantics": { "kind": "set", "property": "washing_program", "parameter": "value", "preconditions": { "power": true, "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "get_cleaning_intensity", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "cleaning_intensity" ], "writes": [], "semantics": { "kind": "read", "property": "cleaning_intensity", "response_key": "cleaning_intensity", "preconditions": { "power": true } } }, { "function": "set_cleaning_intensity", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "light", "standard", "strong" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "status", "cleaning_intensity" ], "writes": [ "cleaning_intensity" ], "semantics": { "kind": "set", "property": "cleaning_intensity", "parameter": "value", "preconditions": { "power": true, "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "get_drying_state", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "drying_state" ], "writes": [], "semantics": { "kind": "read", "property": "drying_state", "response_key": "drying_state", "preconditions": { "power": true } } }, { "function": "set_drying_state", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "status", "drying_state" ], "writes": [ "drying_state" ], "semantics": { "kind": "set", "property": "drying_state", "parameter": "value", "preconditions": { "power": true, "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "get_detergent_dispensing", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "detergent_dispensing" ], "writes": [], "semantics": { "kind": "read", "property": "detergent_dispensing", "response_key": "detergent_dispensing", "preconditions": { "power": true } } }, { "function": "set_detergent_dispensing", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "status", "detergent_dispensing" ], "writes": [ "detergent_dispensing" ], "semantics": { "kind": "set", "property": "detergent_dispensing", "parameter": "value", "preconditions": { "power": true, "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "get_status", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "status" ], "writes": [], "semantics": { "kind": "read", "property": "status", "response_key": "status", "preconditions": { "power": true } } }, { "function": "get_phase", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "phase" ], "writes": [], "semantics": { "kind": "read", "property": "phase", "response_key": "phase", "preconditions": { "power": true } } }, { "function": "get_remaining_minutes", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "remaining_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "remaining_minutes", "response_key": "remaining_minutes", "preconditions": { "power": true } } }, { "function": "start_cycle", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": { "mode": { "type": "string", "enum": [ "eco", "normal", "intensive" ] } }, "required": [ "mode" ], "additionalProperties": false }, "reads": [ "power", "status", "washing_program", "drying_state", "phase", "remaining_minutes", "started_at_minute", "progress_minutes" ], "writes": [ "status", "phase", "remaining_minutes", "started_at_minute", "progress_minutes", "washing_program" ], "semantics": { "kind": "process_start", "mode_parameter": "mode", "preconditions": { "power": true, "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "pause_cycle", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "status" ], "writes": [ "status" ], "semantics": { "kind": "process_pause", "preconditions": { "power": true, "status": "running" } } }, { "function": "resume_cycle", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "status", "progress_minutes", "started_at_minute" ], "writes": [ "status", "started_at_minute" ], "semantics": { "kind": "process_resume", "preconditions": { "power": true, "status": "paused" } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "status" ], "writes": [ "power", "status" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 5 } }, { "kind": "tool_exchange", "call": { "call_id": "call_6", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "drying_rack_1" } } }, "result": { "call_id": "call_6", "turn_id": "turn_1", "sequence": 6, "status": "success", "code": "[PASS]", "data": { "device_id": "drying_rack_1", "tools": [ { "function": "get_height", "description": "Return the current drying-rod height while the rack is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "height" ], "writes": [], "semantics": { "kind": "read", "property": "height", "response_key": "height", "preconditions": { "power": true } } }, { "function": "set_height", "description": "Set the drying-rod height to an integer from 0 through 100 while the rack is powered. Invalid values leave the height unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "description": "Desired drying-rod height." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "height" ], "writes": [ "height" ], "semantics": { "kind": "set", "property": "height", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_light", "description": "Return whether the drying rack light is on while the rack is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "light" ], "writes": [], "semantics": { "kind": "read", "property": "light", "response_key": "light", "preconditions": { "power": true } } }, { "function": "set_light", "description": "Turn the drying rack light on or off while the rack is powered.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "Whether the light should be on." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "light" ], "writes": [ "light" ], "semantics": { "kind": "set", "property": "light", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 6 } }, { "kind": "tool_exchange", "call": { "call_id": "call_7", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "fan_5" } } }, "result": { "call_id": "call_7", "turn_id": "turn_1", "sequence": 7, "status": "success", "code": "[PASS]", "data": { "device_id": "fan_5", "tools": [ { "function": "get_fan_speed", "description": "While powered, get the selected fan speed. Power-off access fails without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [], "semantics": { "kind": "read", "property": "fan_speed", "response_key": "fan_speed", "preconditions": { "power": true } } }, { "function": "set_fan_speed", "description": "While powered, set the selected fan speed to 1, 2, or 3. The wind mode and other settings remain unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 1, "maximum": 3 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "fan_speed" ], "writes": [ "fan_speed" ], "semantics": { "kind": "set", "property": "fan_speed", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_wind_mode", "description": "While powered, get the selected wind profile: normal, natural-wind, or sleep-wind.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "wind_mode" ], "writes": [], "semantics": { "kind": "read", "property": "wind_mode", "response_key": "wind_mode", "preconditions": { "power": true } } }, { "function": "set_wind_mode", "description": "While powered, select normal, natural-wind, or sleep-wind. The selected fan speed and oscillation settings remain unchanged; no timer or automatic configuration change is started.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "normal", "natural-wind", "sleep-wind" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "wind_mode" ], "writes": [ "wind_mode" ], "semantics": { "kind": "set", "property": "wind_mode", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_oscillation", "description": "While powered, get whether horizontal oscillation is enabled.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "oscillation" ], "writes": [], "semantics": { "kind": "read", "property": "oscillation", "response_key": "oscillation", "preconditions": { "power": true } } }, { "function": "set_oscillation", "description": "While powered, enable or disable horizontal oscillation. The configured oscillation angle remains unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "oscillation" ], "writes": [ "oscillation" ], "semantics": { "kind": "set", "property": "oscillation", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_oscillation_angle", "description": "While powered, get the configured horizontal oscillation sweep width in degrees.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "oscillation_angle" ], "writes": [], "semantics": { "kind": "read", "property": "oscillation_angle", "response_key": "oscillation_angle", "preconditions": { "power": true } } }, { "function": "set_oscillation_angle", "description": "While powered, set the horizontal oscillation sweep width to an integer from 1 through 180 degrees inclusive. The oscillation state remains unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 1, "maximum": 180 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "oscillation_angle" ], "writes": [ "oscillation_angle" ], "semantics": { "kind": "set", "property": "oscillation_angle", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 7 } }, { "kind": "tool_exchange", "call": { "call_id": "call_8", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "pet_water_dispenser_2" } } }, "result": { "call_id": "call_8", "turn_id": "turn_1", "sequence": 8, "status": "success", "code": "[PASS]", "data": { "device_id": "pet_water_dispenser_2", "tools": [ { "function": "get_operation_mode", "description": "Return the selected dispensing or circulation mode. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "operation_mode" ], "writes": [], "semantics": { "kind": "read", "property": "operation_mode", "response_key": "operation_mode", "preconditions": { "power": true } } }, { "function": "set_operation_mode", "description": "Set the dispensing or circulation mode. The mode is changed only while powered and valid values are dispensing or circulation.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "dispensing", "circulation" ], "description": "The desired operation mode." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "operation_mode", "power", "water_level" ], "writes": [ "low_water", "operation_mode" ], "semantics": { "kind": "set", "property": "operation_mode", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_water_level", "description": "Return the current reservoir water level percentage. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "water_level" ], "writes": [], "semantics": { "kind": "read", "property": "water_level", "response_key": "water_level", "preconditions": { "power": true } } }, { "function": "get_filter_state", "description": "Return the current filter state. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "filter_state" ], "writes": [], "semantics": { "kind": "read", "property": "filter_state", "response_key": "filter_state", "preconditions": { "power": true } } }, { "function": "get_low_water", "description": "Return whether the reservoir is in the low-water state. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "low_water" ], "writes": [], "semantics": { "kind": "read", "property": "low_water", "response_key": "low_water", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "water_level" ], "writes": [ "low_water", "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 8 } }, { "kind": "tool_exchange", "call": { "call_id": "call_9", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "pet_water_dispenser_4" } } }, "result": { "call_id": "call_9", "turn_id": "turn_1", "sequence": 9, "status": "success", "code": "[PASS]", "data": { "device_id": "pet_water_dispenser_4", "tools": [ { "function": "get_operation_mode", "description": "Return the selected dispensing or circulation mode. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "operation_mode" ], "writes": [], "semantics": { "kind": "read", "property": "operation_mode", "response_key": "operation_mode", "preconditions": { "power": true } } }, { "function": "set_operation_mode", "description": "Set the dispensing or circulation mode. The mode is changed only while powered and valid values are dispensing or circulation.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "dispensing", "circulation" ], "description": "The desired operation mode." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "operation_mode", "power", "water_level" ], "writes": [ "low_water", "operation_mode" ], "semantics": { "kind": "set", "property": "operation_mode", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_water_level", "description": "Return the current reservoir water level percentage. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "water_level" ], "writes": [], "semantics": { "kind": "read", "property": "water_level", "response_key": "water_level", "preconditions": { "power": true } } }, { "function": "get_filter_state", "description": "Return the current filter state. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "filter_state" ], "writes": [], "semantics": { "kind": "read", "property": "filter_state", "response_key": "filter_state", "preconditions": { "power": true } } }, { "function": "get_low_water", "description": "Return whether the reservoir is in the low-water state. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "low_water" ], "writes": [], "semantics": { "kind": "read", "property": "low_water", "response_key": "low_water", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "water_level" ], "writes": [ "low_water", "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 9 } }, { "kind": "tool_exchange", "call": { "call_id": "call_10", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "speaker_1" } } }, "result": { "call_id": "call_10", "turn_id": "turn_1", "sequence": 10, "status": "success", "code": "[PASS]", "data": { "device_id": "speaker_1", "tools": [ { "function": "get_playback_state", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "playback_state" ], "writes": [], "semantics": { "kind": "read", "property": "playback_state", "response_key": "playback_state", "preconditions": { "power": true } } }, { "function": "set_playback_state", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "playing", "paused", "stopped" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "playback_state" ], "semantics": { "kind": "set", "property": "playback_state", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_volume", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "volume" ], "writes": [], "semantics": { "kind": "read", "property": "volume", "response_key": "volume", "preconditions": { "power": true } } }, { "function": "set_volume", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "volume" ], "semantics": { "kind": "set", "property": "volume", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_content", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "content" ], "writes": [], "semantics": { "kind": "read", "property": "content", "response_key": "content", "preconditions": { "power": true } } }, { "function": "set_content", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "maxLength": 500 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "content" ], "semantics": { "kind": "set", "property": "content", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_playback_mode", "description": "", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "playback_mode" ], "writes": [], "semantics": { "kind": "read", "property": "playback_mode", "response_key": "playback_mode", "preconditions": { "power": true } } }, { "function": "set_playback_mode", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "normal", "repeat_all", "repeat_one", "shuffle" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "playback_mode" ], "semantics": { "kind": "set", "property": "playback_mode", "parameter": "value", "preconditions": { "power": true } } }, { "function": "play", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "content" ], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "playing" } }, "preconditions": { "power": true } } }, { "function": "pause", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "paused" } }, "preconditions": { "power": true } } }, { "function": "previous_track", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "playing" } }, "preconditions": { "power": true } } }, { "function": "next_track", "description": "", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "playing" } }, "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 10 } }, { "kind": "tool_exchange", "call": { "call_id": "call_11", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "water_dispenser_1" } } }, "result": { "call_id": "call_11", "turn_id": "turn_1", "sequence": 11, "status": "success", "code": "[PASS]", "data": { "device_id": "water_dispenser_1", "tools": [ { "function": "get_keep_warm_temperature", "description": "Get the configured keep-warm temperature. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "keep_warm_temperature" ], "writes": [], "semantics": { "kind": "read", "property": "keep_warm_temperature", "response_key": "keep_warm_temperature", "preconditions": { "power": true } } }, { "function": "set_keep_warm_temperature", "description": "Set the keep-warm temperature to an integer from 40 through 100 degrees Celsius in 5-degree increments. This function is available only while the dispenser is powered. Invalid values leave the setting unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "description": "The desired keep-warm temperature in degrees Celsius.", "minimum": 40, "maximum": 100, "multipleOf": 5, "examples": [ 40, 60, 85, 100 ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "keep_warm_temperature" ], "writes": [ "keep_warm_temperature" ], "semantics": { "kind": "set", "property": "keep_warm_temperature", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_child_lock", "description": "Get whether the child-lock function is enabled. This function is available only while the dispenser is powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "child_lock" ], "writes": [], "semantics": { "kind": "read", "property": "child_lock", "response_key": "child_lock", "preconditions": { "power": true } } }, { "function": "set_child_lock", "description": "Enable or disable the child-lock function. This function is available only while the dispenser is powered.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "Whether to enable the child-lock function." } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "child_lock" ], "writes": [ "child_lock" ], "semantics": { "kind": "set", "property": "child_lock", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 11 } }, { "kind": "tool_exchange", "call": { "call_id": "call_12", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "window_opener_2" } } }, "result": { "call_id": "call_12", "turn_id": "turn_1", "sequence": 12, "status": "success", "code": "[PASS]", "data": { "device_id": "window_opener_2", "tools": [ { "function": "get_opening_percentage", "description": "Return the current window opening percentage.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "opening_percentage" ], "writes": [], "semantics": { "kind": "read", "property": "opening_percentage", "response_key": "opening_percentage", "preconditions": { "power": true } } }, { "function": "set_opening_percentage", "description": "Request target opening the value argument. When already running toward the same target, return success without changing any state. Otherwise set target_opening_percentage to the request and start_opening_percentage to the current opening_percentage, reset progress_minutes to zero, and compute travel_minutes=max(1, ceil(abs(target_opening_percentage-start_opening_percentage)*movement_minutes/100)). If the current opening equals the target, set status and phase to completed and remaining_minutes to zero without starting motion; retain the previous motion_mode. Otherwise choose motion_mode=opening if target exceeds current opening, or closing if below; set status=running, phase=motion_mode and remaining_minutes=travel_minutes. The after_action transition establishes started_at_minute at the current elapsed world minute. Invalid input changes no state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "opening_percentage", "target_opening_percentage", "status", "movement_minutes" ], "writes": [ "target_opening_percentage", "start_opening_percentage", "travel_minutes", "motion_mode", "status", "phase", "remaining_minutes", "progress_minutes", "started_at_minute" ], "semantics": { "kind": "custom", "reason": "The operation selects movement direction and initializes process state based on the current opening percentage.", "preconditions": { "power": true } } }, { "function": "get_motion_mode", "description": "Return the selected movement direction.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "motion_mode" ], "writes": [], "semantics": { "kind": "read", "property": "motion_mode", "response_key": "motion_mode", "preconditions": { "power": true } } }, { "function": "get_status", "description": "Return the persisted movement process status.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "status" ], "writes": [], "semantics": { "kind": "read", "property": "status", "response_key": "status", "preconditions": { "power": true } } }, { "function": "open", "description": "Request target opening 100. When already running toward the same target, return success without changing any state. Otherwise set target_opening_percentage to the request and start_opening_percentage to the current opening_percentage, reset progress_minutes to zero, and compute travel_minutes=max(1, ceil(abs(target_opening_percentage-start_opening_percentage)*movement_minutes/100)). If the current opening equals the target, set status and phase to completed and remaining_minutes to zero without starting motion; retain the previous motion_mode. Otherwise choose motion_mode=opening if target exceeds current opening, or closing if below; set status=running, phase=motion_mode and remaining_minutes=travel_minutes. The after_action transition establishes started_at_minute at the current elapsed world minute. Invalid input changes no state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "mode": { "type": "string", "enum": [ "opening" ], "default": "opening" } }, "required": [], "additionalProperties": false }, "reads": [ "power", "opening_percentage", "target_opening_percentage", "status", "movement_minutes" ], "writes": [ "target_opening_percentage", "start_opening_percentage", "travel_minutes", "motion_mode", "status", "phase", "remaining_minutes", "progress_minutes", "started_at_minute" ], "semantics": { "kind": "process_start", "mode_parameter": "mode", "preconditions": { "power": true } } }, { "function": "close", "description": "Request target opening 0. When already running toward the same target, return success without changing any state. Otherwise set target_opening_percentage to the request and start_opening_percentage to the current opening_percentage, reset progress_minutes to zero, and compute travel_minutes=max(1, ceil(abs(target_opening_percentage-start_opening_percentage)*movement_minutes/100)). If the current opening equals the target, set status and phase to completed and remaining_minutes to zero without starting motion; retain the previous motion_mode. Otherwise choose motion_mode=opening if target exceeds current opening, or closing if below; set status=running, phase=motion_mode and remaining_minutes=travel_minutes. The after_action transition establishes started_at_minute at the current elapsed world minute. Invalid input changes no state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "mode": { "type": "string", "enum": [ "closing" ], "default": "closing" } }, "required": [], "additionalProperties": false }, "reads": [ "power", "opening_percentage", "target_opening_percentage", "status", "movement_minutes" ], "writes": [ "target_opening_percentage", "start_opening_percentage", "travel_minutes", "motion_mode", "status", "phase", "remaining_minutes", "progress_minutes", "started_at_minute" ], "semantics": { "kind": "process_start", "mode_parameter": "mode", "preconditions": { "power": true } } }, { "function": "stop", "description": "While powered and running, pause movement by setting status=paused. Preserve the current opening, phase, target, travel duration, origin and progress. A later open, close or percentage request starts a new movement from the retained opening.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "status" ], "writes": [ "status" ], "semantics": { "kind": "process_pause", "preconditions": { "power": true, "status": "running" } } }, { "function": "get_phase", "description": "Return the current movement phase.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "phase" ], "writes": [], "semantics": { "kind": "read", "property": "phase", "response_key": "phase", "preconditions": { "power": true } } }, { "function": "get_remaining_minutes", "description": "Return the remaining whole movement minutes.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "remaining_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "remaining_minutes", "response_key": "remaining_minutes", "preconditions": { "power": true } } }, { "function": "get_power", "description": "Get the current power state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [], "semantics": { "kind": "read", "property": "power", "response_key": "power" } }, { "function": "set_power", "description": "Set power and update access for active dependent properties.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "status" ], "writes": [ "power", "status" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } }, { "function": "set_open_state", "description": "Request target opening 100 when value is true, or 0 when false. When already running toward the same target, return success without changing any state. Otherwise set target_opening_percentage to the request and start_opening_percentage to the current opening_percentage, reset progress_minutes to zero, and compute travel_minutes=max(1, ceil(abs(target_opening_percentage-start_opening_percentage)*movement_minutes/100)). If the current opening equals the target, set status and phase to completed and remaining_minutes to zero without starting motion; retain the previous motion_mode. Otherwise choose motion_mode=opening if target exceeds current opening, or closing if below; set status=running, phase=motion_mode and remaining_minutes=travel_minutes. The after_action transition establishes started_at_minute at the current elapsed world minute. Invalid input changes no state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "opening_percentage", "target_opening_percentage", "status", "movement_minutes" ], "writes": [ "target_opening_percentage", "start_opening_percentage", "travel_minutes", "motion_mode", "status", "phase", "remaining_minutes", "progress_minutes", "started_at_minute" ], "semantics": { "kind": "custom", "reason": "Convert the Boolean open-state request to a numeric target and apply the declared deterministic movement initialization.", "preconditions": { "power": true } } }, { "function": "get_open_state", "description": "While powered, return open_state=true exactly when opening_percentage is greater than zero; fully closed is false. This is a computed response, with no duplicate stored Boolean state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "opening_percentage" ], "writes": [], "semantics": { "kind": "custom", "reason": "Compute a Boolean open/closed observation from the existing opening percentage.", "preconditions": { "power": true } } } ] }, "mutation_committed": false, "audit_sequence": 12 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_13", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "basement" } } }, "result": { "call_id": "call_13", "turn_id": "turn_2", "sequence": 13, "status": "success", "code": "[PASS]", "data": { "space_id": "basement", "type": "basement", "virtual": false, "properties": { "temperature": 33, "humidity": 70, "illuminance": 50, "noise": 45, "air_quality": 75 }, "metadata": { "description": "Generated basement 14", "generation_index": 14, "floor": -1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 14 } }, { "kind": "tool_exchange", "call": { "call_id": "call_14", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "bathroom" } } }, "result": { "call_id": "call_14", "turn_id": "turn_2", "sequence": 14, "status": "success", "code": "[PASS]", "data": { "space_id": "bathroom", "type": "bathroom", "virtual": false, "properties": { "temperature": 32, "humidity": 50, "illuminance": 50, "noise": 25, "air_quality": 50 }, "metadata": { "description": "Generated bathroom 5", "generation_index": 5, "floor": 1, "occupants": [ "Ryan" ] } }, "mutation_committed": false, "audit_sequence": 15 } }, { "kind": "tool_exchange", "call": { "call_id": "call_15", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "bedroom_2" } } }, "result": { "call_id": "call_15", "turn_id": "turn_2", "sequence": 15, "status": "success", "code": "[PASS]", "data": { "space_id": "bedroom_2", "type": "bedroom", "virtual": false, "properties": { "temperature": 17, "humidity": 50, "illuminance": 0, "noise": 45, "air_quality": 200 }, "metadata": { "description": "Generated bedroom 4", "generation_index": 4, "floor": 1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 16 } }, { "kind": "tool_exchange", "call": { "call_id": "call_16", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "garden" } } }, "result": { "call_id": "call_16", "turn_id": "turn_2", "sequence": 16, "status": "success", "code": "[PASS]", "data": { "space_id": "garden", "type": "garden", "virtual": false, "properties": { "temperature": 12, "humidity": 70, "illuminance": 500, "noise": 45, "air_quality": 200 }, "metadata": { "description": "Generated garden 16", "generation_index": 16, "floor": 1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 17 } }, { "kind": "tool_exchange", "call": { "call_id": "call_17", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "laundry_room" } } }, "result": { "call_id": "call_17", "turn_id": "turn_2", "sequence": 17, "status": "success", "code": "[PASS]", "data": { "space_id": "laundry_room", "type": "laundry_room", "virtual": false, "properties": { "temperature": 28, "humidity": 70, "illuminance": 0, "noise": 35, "air_quality": 150 }, "metadata": { "description": "Generated laundry room 11", "generation_index": 11, "floor": 1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 18 } }, { "kind": "tool_exchange", "call": { "call_id": "call_18", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "stairs" } } }, "result": { "call_id": "call_18", "turn_id": "turn_2", "sequence": 18, "status": "success", "code": "[PASS]", "data": { "space_id": "stairs", "type": "stairs", "virtual": false, "properties": { "temperature": 25, "humidity": 70, "illuminance": 800, "noise": 55, "air_quality": 25 }, "metadata": { "description": "Generated stairs 13", "generation_index": 13, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 19 } }, { "kind": "tool_exchange", "call": { "call_id": "call_19", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "storage_room" } } }, "result": { "call_id": "call_19", "turn_id": "turn_2", "sequence": 19, "status": "success", "code": "[PASS]", "data": { "space_id": "storage_room", "type": "storage_room", "virtual": false, "properties": { "temperature": 35, "humidity": 80, "illuminance": 200, "noise": 25, "air_quality": 150 }, "metadata": { "description": "Generated storage room 12", "generation_index": 12, "floor": 1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 20 } }, { "kind": "tool_exchange", "call": { "call_id": "call_20", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "study_room" } } }, "result": { "call_id": "call_20", "turn_id": "turn_2", "sequence": 20, "status": "success", "code": "[PASS]", "data": { "space_id": "study_room", "type": "study_room", "virtual": false, "properties": { "temperature": 13, "humidity": 30, "illuminance": 0, "noise": 45, "air_quality": 75 }, "metadata": { "description": "Generated study room 9", "generation_index": 9, "floor": 1, "occupants": [ "York" ] } }, "mutation_committed": false, "audit_sequence": 21 } }, { "kind": "tool_exchange", "call": { "call_id": "call_21", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": 0 } } }, "result": { "call_id": "call_21", "turn_id": "turn_2", "sequence": 21, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 0 }, "mutation_committed": false, "audit_sequence": 22 } }, { "kind": "tool_exchange", "call": { "call_id": "call_22", "turn_id": "turn_2", "command": { "target": "air_purifier_1", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_22", "turn_id": "turn_2", "sequence": 22, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 23 } }, { "kind": "tool_exchange", "call": { "call_id": "call_23", "turn_id": "turn_2", "command": { "target": "air_purifier_1", "function": "set_fan_speed", "parameters": { "value": 4 } } }, "result": { "call_id": "call_23", "turn_id": "turn_2", "sequence": 23, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 24 } }, { "kind": "tool_exchange", "call": { "call_id": "call_24", "turn_id": "turn_2", "command": { "target": "air_purifier_2", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_24", "turn_id": "turn_2", "sequence": 24, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 25 } }, { "kind": "tool_exchange", "call": { "call_id": "call_25", "turn_id": "turn_2", "command": { "target": "air_purifier_2", "function": "set_fan_speed", "parameters": { "value": 3 } } }, "result": { "call_id": "call_25", "turn_id": "turn_2", "sequence": 25, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 26 } }, { "kind": "tool_exchange", "call": { "call_id": "call_26", "turn_id": "turn_2", "command": { "target": "air_purifier_3", "function": "set_fan_speed", "parameters": { "value": 3 } } }, "result": { "call_id": "call_26", "turn_id": "turn_2", "sequence": 26, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 27 } }, { "kind": "tool_exchange", "call": { "call_id": "call_27", "turn_id": "turn_2", "command": { "target": "air_purifier_4", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_27", "turn_id": "turn_2", "sequence": 27, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 28 } }, { "kind": "tool_exchange", "call": { "call_id": "call_28", "turn_id": "turn_2", "command": { "target": "air_purifier_4", "function": "set_fan_speed", "parameters": { "value": 4 } } }, "result": { "call_id": "call_28", "turn_id": "turn_2", "sequence": 28, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 29 } }, { "kind": "tool_exchange", "call": { "call_id": "call_29", "turn_id": "turn_2", "command": { "target": "air_purifier_1", "function": "set_target_air_quality", "parameters": { "value": 45 } } }, "result": { "call_id": "call_29", "turn_id": "turn_2", "sequence": 29, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 30 } }, { "kind": "tool_exchange", "call": { "call_id": "call_30", "turn_id": "turn_2", "command": { "target": "air_purifier_2", "function": "set_target_air_quality", "parameters": { "value": 51 } } }, "result": { "call_id": "call_30", "turn_id": "turn_2", "sequence": 30, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 31 } }, { "kind": "tool_exchange", "call": { "call_id": "call_31", "turn_id": "turn_2", "command": { "target": "air_purifier_3", "function": "set_target_air_quality", "parameters": { "value": 45 } } }, "result": { "call_id": "call_31", "turn_id": "turn_2", "sequence": 31, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 32 } }, { "kind": "tool_exchange", "call": { "call_id": "call_32", "turn_id": "turn_2", "command": { "target": "air_purifier_4", "function": "set_target_air_quality", "parameters": { "value": 52 } } }, "result": { "call_id": "call_32", "turn_id": "turn_2", "sequence": 32, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 33 } }, { "kind": "tool_exchange", "call": { "call_id": "call_33", "turn_id": "turn_2", "command": { "target": "pet_water_dispenser_4", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_33", "turn_id": "turn_2", "sequence": 33, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 34 } }, { "kind": "tool_exchange", "call": { "call_id": "call_34", "turn_id": "turn_2", "command": { "target": "pet_water_dispenser_2", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_34", "turn_id": "turn_2", "sequence": 34, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 35 } }, { "kind": "tool_exchange", "call": { "call_id": "call_35", "turn_id": "turn_2", "command": { "target": "speaker_1", "function": "set_volume", "parameters": { "value": 46 } } }, "result": { "call_id": "call_35", "turn_id": "turn_2", "sequence": 35, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 36 } }, { "kind": "tool_exchange", "call": { "call_id": "call_36", "turn_id": "turn_2", "command": { "target": "drying_rack_1", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_36", "turn_id": "turn_2", "sequence": 36, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 37 } }, { "kind": "tool_exchange", "call": { "call_id": "call_37", "turn_id": "turn_2", "command": { "target": "drying_rack_1", "function": "set_light", "parameters": { "value": false } } }, "result": { "call_id": "call_37", "turn_id": "turn_2", "sequence": 37, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 38 } }, { "kind": "tool_exchange", "call": { "call_id": "call_38", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "basement" } } }, "result": { "call_id": "call_38", "turn_id": "turn_2", "sequence": 38, "status": "success", "code": "[PASS]", "data": { "space_id": "basement", "type": "basement", "virtual": false, "properties": { "temperature": 33, "humidity": 70, "illuminance": 50, "noise": 45, "air_quality": 75 }, "metadata": { "description": "Generated basement 14", "generation_index": 14, "floor": -1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 39 } }, { "kind": "tool_exchange", "call": { "call_id": "call_39", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "bathroom" } } }, "result": { "call_id": "call_39", "turn_id": "turn_2", "sequence": 39, "status": "success", "code": "[PASS]", "data": { "space_id": "bathroom", "type": "bathroom", "virtual": false, "properties": { "temperature": 32, "humidity": 50, "illuminance": 50, "noise": 25, "air_quality": 50 }, "metadata": { "description": "Generated bathroom 5", "generation_index": 5, "floor": 1, "occupants": [ "Ryan" ] } }, "mutation_committed": false, "audit_sequence": 40 } }, { "kind": "tool_exchange", "call": { "call_id": "call_40", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "bedroom_2" } } }, "result": { "call_id": "call_40", "turn_id": "turn_2", "sequence": 40, "status": "success", "code": "[PASS]", "data": { "space_id": "bedroom_2", "type": "bedroom", "virtual": false, "properties": { "temperature": 17, "humidity": 50, "illuminance": 0, "noise": 45, "air_quality": 200 }, "metadata": { "description": "Generated bedroom 4", "generation_index": 4, "floor": 1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 41 } }, { "kind": "tool_exchange", "call": { "call_id": "call_41", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "garden" } } }, "result": { "call_id": "call_41", "turn_id": "turn_2", "sequence": 41, "status": "success", "code": "[PASS]", "data": { "space_id": "garden", "type": "garden", "virtual": false, "properties": { "temperature": 12, "humidity": 70, "illuminance": 500, "noise": 65, "air_quality": 200 }, "metadata": { "description": "Generated garden 16", "generation_index": 16, "floor": 1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 42 } }, { "kind": "tool_exchange", "call": { "call_id": "call_42", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "laundry_room" } } }, "result": { "call_id": "call_42", "turn_id": "turn_2", "sequence": 42, "status": "success", "code": "[PASS]", "data": { "space_id": "laundry_room", "type": "laundry_room", "virtual": false, "properties": { "temperature": 28, "humidity": 70, "illuminance": 0, "noise": 35, "air_quality": 150 }, "metadata": { "description": "Generated laundry room 11", "generation_index": 11, "floor": 1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 43 } }, { "kind": "tool_exchange", "call": { "call_id": "call_43", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "stairs" } } }, "result": { "call_id": "call_43", "turn_id": "turn_2", "sequence": 43, "status": "success", "code": "[PASS]", "data": { "space_id": "stairs", "type": "stairs", "virtual": false, "properties": { "temperature": 25, "humidity": 70, "illuminance": 800, "noise": 55, "air_quality": 25 }, "metadata": { "description": "Generated stairs 13", "generation_index": 13, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 44 } }, { "kind": "tool_exchange", "call": { "call_id": "call_44", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "storage_room" } } }, "result": { "call_id": "call_44", "turn_id": "turn_2", "sequence": 44, "status": "success", "code": "[PASS]", "data": { "space_id": "storage_room", "type": "storage_room", "virtual": false, "properties": { "temperature": 35, "humidity": 80, "illuminance": 200, "noise": 25, "air_quality": 150 }, "metadata": { "description": "Generated storage room 12", "generation_index": 12, "floor": 1, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 45 } }, { "kind": "tool_exchange", "call": { "call_id": "call_45", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "study_room" } } }, "result": { "call_id": "call_45", "turn_id": "turn_2", "sequence": 45, "status": "success", "code": "[PASS]", "data": { "space_id": "study_room", "type": "study_room", "virtual": false, "properties": { "temperature": 13, "humidity": 30, "illuminance": 0, "noise": 45, "air_quality": 75 }, "metadata": { "description": "Generated study room 9", "generation_index": 9, "floor": 1, "occupants": [ "York" ] } }, "mutation_committed": false, "audit_sequence": 46 } }, { "kind": "tool_exchange", "call": { "call_id": "call_46", "turn_id": "turn_2", "command": { "target": "session", "function": "get_space_state", "parameters": { "space_id": "entryway" } } }, "result": { "call_id": "call_46", "turn_id": "turn_2", "sequence": 46, "status": "success", "code": "[PASS]", "data": { "space_id": "entryway", "type": "entryway", "virtual": false, "properties": { "temperature": 31, "humidity": 60, "illuminance": 300, "noise": 25, "air_quality": 50 }, "metadata": { "description": "Generated entryway 1", "generation_index": 1, "floor": 1, "occupants": [ "Yvonne" ] } }, "mutation_committed": false, "audit_sequence": 47 } }, { "kind": "tool_exchange", "call": { "call_id": "call_47", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": 6 } } }, "result": { "call_id": "call_47", "turn_id": "turn_2", "sequence": 47, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 1 }, "mutation_committed": false, "audit_sequence": 48 } }, { "kind": "tool_exchange", "call": { "call_id": "call_48", "turn_id": "turn_2", "command": { "target": "fan_5", "function": "set_power", "parameters": { "value": false } } }, "result": { "call_id": "call_48", "turn_id": "turn_2", "sequence": 48, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 49 } }, { "kind": "tool_exchange", "call": { "call_id": "call_49", "turn_id": "turn_2", "command": { "target": "water_dispenser_1", "function": "set_power", "parameters": { "value": false } } }, "result": { "call_id": "call_49", "turn_id": "turn_2", "sequence": 49, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 50 } }, { "kind": "tool_exchange", "call": { "call_id": "call_50", "turn_id": "turn_2", "command": { "target": "window_opener_2", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_50", "turn_id": "turn_2", "sequence": 50, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 51 } }, { "kind": "tool_exchange", "call": { "call_id": "call_51", "turn_id": "turn_2", "command": { "target": "window_opener_2", "function": "open", "parameters": { "mode": "opening" } } }, "result": { "call_id": "call_51", "turn_id": "turn_2", "sequence": 51, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 52 } }, { "kind": "tool_exchange", "call": { "call_id": "call_52", "turn_id": "turn_2", "command": { "target": "dishwasher_1", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_52", "turn_id": "turn_2", "sequence": 52, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 53 } }, { "kind": "tool_exchange", "call": { "call_id": "call_53", "turn_id": "turn_2", "command": { "target": "dishwasher_1", "function": "set_cleaning_intensity", "parameters": { "value": "strong" } } }, "result": { "call_id": "call_53", "turn_id": "turn_2", "sequence": 53, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 54 } }, { "kind": "tool_exchange", "call": { "call_id": "call_54", "turn_id": "turn_2", "command": { "target": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_54", "turn_id": "turn_2", "sequence": 54, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 55 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }
{
"trajectory_id": "task_4a8226af_reference",
"world_id": "task_4a8226af",
"task_id": "task_4a8226af",
"source": "ground_truth",
"records": [
{
"kind": "tool_exchange",
"call": {
"call_id": "call_1",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "air_purifier_1"
}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "air_purifier_1",
"tools": [
{
"function": "get_fan_speed",
"description": "Return the configured fan-speed level. The purifier must be powered.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"fan_speed"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "fan_speed",
"response_key": "fan_speed",
"preconditions": {
"power": true
}
}
},
{
"function": "set_fan_speed",
"description": "Set the fan-speed level from 1 through 5. The purifier must be powered; invalid values fail without changing state.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"multipleOf": 1,
"description": "Fan-speed level."
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"power",
"fan_speed"
],
"writes": [
"fan_speed"
],
"semantics": {
"kind": "set",
"property": "fan_speed",
"parameter": "value",
"preconditions": {
"power": true
}
}
},
{
"function": "get_target_air_quality",
"description": "Return the configured target air-quality index. The purifier must be powered.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",