Download data/test/Home/task_05d56cbe/reference_trajectory.json from JamesZhutheThird/SynthDCB: direct link, hf CLI and curl.
- Browser
- Download file 39.1 kB
-
https://huggingface.co/datasets/JamesZhutheThird/SynthDCB/resolve/main/data/test/Home/task_05d56cbe/reference_trajectory.json
- Command line
-
hf download hf://datasets/JamesZhutheThird/SynthDCB/data/test/Home/task_05d56cbe/reference_trajectory.json
-
curl -L -o reference_trajectory.json https://huggingface.co/datasets/JamesZhutheThird/SynthDCB/resolve/main/data/test/Home/task_05d56cbe/reference_trajectory.json
39.1 kB
{
"trajectory_id": "task_05d56cbe_reference",
"world_id": "task_05d56cbe",
"task_id": "task_05d56cbe",
"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": "pet_water_dispenser_5"
}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "pet_water_dispenser_5",
"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": 1
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_2",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "washer_dryer_1"
}
}
},
"result": {
"call_id": "call_2",
"turn_id": "turn_1",
"sequence": 2,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "washer_dryer_1",
"tools": [
{
"function": "get_washing_program",
"description": "Return the selected program under washing_program. Fail without changes if unpowered or arguments are invalid.",
"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": "Select daily or quick without starting operation; return an empty success object. Require power and idle or completed status. Invalid arguments or failed preconditions leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"daily",
"quick"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"power",
"status"
],
"writes": [
"washing_program"
],
"semantics": {
"kind": "set",
"property": "washing_program",
"parameter": "value",
"preconditions": {
"power": true,
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "get_water_temperature",
"description": "Return the wash-water temperature setting in degC under water_temperature. Fail without changes if unpowered or arguments are invalid.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"water_temperature"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "water_temperature",
"response_key": "water_temperature",
"preconditions": {
"power": true
}
}
},
{
"function": "set_water_temperature",
"description": "Set wash-water temperature to 20, 30, 40, 50 or 60 degC; return an empty success object. Require power and idle or completed status. Invalid arguments or failed preconditions leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 20,
"maximum": 60,
"multipleOf": 10
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"power",
"status"
],
"writes": [
"water_temperature"
],
"semantics": {
"kind": "set",
"property": "water_temperature",
"parameter": "value",
"preconditions": {
"power": true,
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "get_spin_speed",
"description": "Return spin speed in rpm under spin_speed. Fail without changes if unpowered or arguments are invalid.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"spin_speed"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "spin_speed",
"response_key": "spin_speed",
"preconditions": {
"power": true
}
}
},
{
"function": "set_spin_speed",
"description": "Set spin speed from 400 through 1200 rpm in increments of 200; return an empty success object. Require power and idle or completed status. Invalid arguments or failed preconditions leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 400,
"maximum": 1200,
"multipleOf": 200
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"power",
"status"
],
"writes": [
"spin_speed"
],
"semantics": {
"kind": "set",
"property": "spin_speed",
"parameter": "value",
"preconditions": {
"power": true,
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "get_drying_mode",
"description": "Return normal or gentle under drying_mode. Fail without changes if unpowered or arguments are invalid.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"drying_mode"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "drying_mode",
"response_key": "drying_mode",
"preconditions": {
"power": true
}
}
},
{
"function": "set_drying_mode",
"description": "Select normal or gentle drying without starting operation; return an empty success object. Require power and idle or completed status. Invalid arguments or failed preconditions leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"normal",
"gentle"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"power",
"status"
],
"writes": [
"drying_mode"
],
"semantics": {
"kind": "set",
"property": "drying_mode",
"parameter": "value",
"preconditions": {
"power": true,
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "get_drying_duration",
"description": "Return configured dry-phase minutes under drying_duration. Fail without changes if unpowered or arguments are invalid.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"drying_duration"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "drying_duration",
"response_key": "drying_duration",
"preconditions": {
"power": true
}
}
},
{
"function": "set_drying_duration",
"description": "Set dry-phase duration to an integer from 1 through 180 minutes; return an empty success object. Require power and idle or completed status. Invalid arguments or failed preconditions leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 1,
"maximum": 180
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"power",
"status"
],
"writes": [
"drying_duration"
],
"semantics": {
"kind": "set",
"property": "drying_duration",
"parameter": "value",
"preconditions": {
"power": true,
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "get_status",
"description": "Return process status under status. Fail without changes if unpowered or arguments are invalid.",
"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": "Return the current stage under phase. Fail without changes if unpowered or arguments are invalid.",
"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 whole-cycle remaining minutes under remaining_minutes. Fail without changes if unpowered or arguments are invalid.",
"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_started_at_minute",
"description": "Return the persisted running-time origin under started_at_minute. Fail without changes if unpowered or arguments are invalid.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"started_at_minute"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "started_at_minute",
"response_key": "started_at_minute",
"preconditions": {
"power": true
}
}
},
{
"function": "get_progress_minutes",
"description": "Return completed cycle minutes under progress_minutes. Fail without changes if unpowered or arguments are invalid.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"progress_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "progress_minutes",
"response_key": "progress_minutes",
"preconditions": {
"power": true
}
}
},
{
"function": "start_cycle",
"description": "Manually select and start daily or quick. Require power and idle or completed status. Set washing_program to program, status to running, phase to wash, progress to zero and remaining time to the declared program total including drying_duration. Establish the running-time origin at the current elapsed minute. Configuration is frozen until completion, including while paused. Return an empty success object. Validate all arguments and preconditions before changes; failure preserves all state.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"program": {
"type": "string",
"enum": [
"daily",
"quick"
]
}
},
"required": [
"program"
],
"additionalProperties": false
},
"reads": [
"power",
"status",
"washing_program",
"drying_duration"
],
"writes": [
"washing_program",
"status",
"phase",
"remaining_minutes",
"started_at_minute",
"progress_minutes"
],
"semantics": {
"kind": "process_start",
"mode_parameter": "program",
"preconditions": {
"power": true,
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "pause_cycle",
"description": "Pause a powered running cycle, preserving phase, remaining time, progress and configuration. Return an empty success object. Invalid arguments or failed preconditions leave all state unchanged.",
"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": "Resume a powered paused cycle without resetting progress, phase, remaining time or configuration. Set status to running and re-establish the running-time origin as current elapsed minute minus retained progress. Return an empty success object. Invalid arguments or failed preconditions leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"status",
"progress_minutes"
],
"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": 2
}
},
{
"kind": "turn_boundary",
"boundary": {
"turn_id": "turn_1",
"apply_after_turn": true
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_3",
"turn_id": "turn_2",
"command": {
"target": "washer_dryer_1",
"function": "set_power",
"parameters": {
"value": true
}
}
},
"result": {
"call_id": "call_3",
"turn_id": "turn_2",
"sequence": 3,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 4
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_4",
"turn_id": "turn_2",
"command": {
"target": "washer_dryer_1",
"function": "start_cycle",
"parameters": {
"program": "quick"
}
}
},
"result": {
"call_id": "call_4",
"turn_id": "turn_2",
"sequence": 4,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 5
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_5",
"turn_id": "turn_2",
"command": {
"target": "pet_water_dispenser_5",
"function": "set_power",
"parameters": {
"value": true
}
}
},
"result": {
"call_id": "call_5",
"turn_id": "turn_2",
"sequence": 5,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 6
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_6",
"turn_id": "turn_2",
"command": {
"target": "pet_water_dispenser_5",
"function": "set_operation_mode",
"parameters": {
"value": "dispensing"
}
}
},
"result": {
"call_id": "call_6",
"turn_id": "turn_2",
"sequence": 6,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 7
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_7",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "get_space_state",
"parameters": {
"space_id": "basement"
}
}
},
"result": {
"call_id": "call_7",
"turn_id": "turn_2",
"sequence": 7,
"status": "success",
"code": "[PASS]",
"data": {
"space_id": "basement",
"type": "basement",
"virtual": false,
"properties": {
"temperature": 20,
"humidity": 70,
"illuminance": 0,
"noise": 65,
"air_quality": 100
},
"metadata": {
"description": "Generated basement 13",
"generation_index": 13,
"floor": -1,
"occupants": []
}
},
"mutation_committed": false,
"audit_sequence": 8
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_8",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "get_space_state",
"parameters": {
"space_id": "bedroom"
}
}
},
"result": {
"call_id": "call_8",
"turn_id": "turn_2",
"sequence": 8,
"status": "success",
"code": "[PASS]",
"data": {
"space_id": "bedroom",
"type": "bedroom",
"virtual": false,
"properties": {
"temperature": 34,
"humidity": 60,
"illuminance": 800,
"noise": 25,
"air_quality": 300
},
"metadata": {
"description": "Generated bedroom 3",
"generation_index": 3,
"floor": 2,
"occupants": [
"Mia"
]
}
},
"mutation_committed": false,
"audit_sequence": 9
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_9",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "get_space_state",
"parameters": {
"space_id": "dining_room"
}
}
},
"result": {
"call_id": "call_9",
"turn_id": "turn_2",
"sequence": 9,
"status": "success",
"code": "[PASS]",
"data": {
"space_id": "dining_room",
"type": "dining_room",
"virtual": false,
"properties": {
"temperature": 19,
"humidity": 40,
"illuminance": 0,
"noise": 55,
"air_quality": 100
},
"metadata": {
"description": "Generated dining room 8",
"generation_index": 8,
"floor": 1,
"occupants": []
}
},
"mutation_committed": false,
"audit_sequence": 10
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_10",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "get_space_state",
"parameters": {
"space_id": "entryway"
}
}
},
"result": {
"call_id": "call_10",
"turn_id": "turn_2",
"sequence": 10,
"status": "success",
"code": "[PASS]",
"data": {
"space_id": "entryway",
"type": "entryway",
"virtual": false,
"properties": {
"temperature": 27,
"humidity": 80,
"illuminance": 300,
"noise": 45,
"air_quality": 50
},
"metadata": {
"description": "Generated entryway 1",
"generation_index": 1,
"floor": 1,
"occupants": []
}
},
"mutation_committed": false,
"audit_sequence": 11
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_11",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "get_space_state",
"parameters": {
"space_id": "kitchen"
}
}
},
"result": {
"call_id": "call_11",
"turn_id": "turn_2",
"sequence": 11,
"status": "success",
"code": "[PASS]",
"data": {
"space_id": "kitchen",
"type": "kitchen",
"virtual": false,
"properties": {
"temperature": 35,
"humidity": 80,
"illuminance": 100,
"noise": 45,
"air_quality": 100
},
"metadata": {
"description": "Generated kitchen 7",
"generation_index": 7,
"floor": 1,
"occupants": []
}
},
"mutation_committed": false,
"audit_sequence": 12
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_12",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "get_space_state",
"parameters": {
"space_id": "living_room"
}
}
},
"result": {
"call_id": "call_12",
"turn_id": "turn_2",
"sequence": 12,
"status": "success",
"code": "[PASS]",
"data": {
"space_id": "living_room",
"type": "living_room",
"virtual": false,
"properties": {
"temperature": 29,
"humidity": 80,
"illuminance": 200,
"noise": 35,
"air_quality": 25
},
"metadata": {
"description": "Generated living room 2",
"generation_index": 2,
"floor": 1,
"occupants": []
}
},
"mutation_committed": false,
"audit_sequence": 13
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_13",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "get_space_state",
"parameters": {
"space_id": "stairs"
}
}
},
"result": {
"call_id": "call_13",
"turn_id": "turn_2",
"sequence": 13,
"status": "success",
"code": "[PASS]",
"data": {
"space_id": "stairs",
"type": "stairs",
"virtual": false,
"properties": {
"temperature": 31,
"humidity": 80,
"illuminance": 800,
"noise": 65,
"air_quality": 300
},
"metadata": {
"description": "Generated stairs 12",
"generation_index": 12,
"occupants": []
}
},
"mutation_committed": false,
"audit_sequence": 14
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_14",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": [
"bedroom",
"living_room",
"entryway",
"kitchen"
]
}
}
},
"result": {
"call_id": "call_14",
"turn_id": "turn_2",
"sequence": 14,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 0
},
"mutation_committed": false,
"audit_sequence": 15
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_15",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "finish",
"parameters": {}
}
},
"result": {
"call_id": "call_15",
"turn_id": "turn_2",
"sequence": 15,
"status": "success",
"code": "[PASS]",
"data": {
"finished": true
},
"mutation_committed": false,
"audit_sequence": 16
}
},
{
"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_05d56cbe_reference",
"world_id": "task_05d56cbe",
"task_id": "task_05d56cbe",
"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": "pet_water_dispenser_5"
}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "pet_water_dispenser_5",
"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