{ "trajectory_id": "task_3b70ce9d_reference", "world_id": "task_3b70ce9d", "task_id": "task_3b70ce9d", "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": "ambient_light_1" } } }, "result": { "call_id": "call_1", "turn_id": "turn_1", "sequence": 1, "status": "success", "code": "[PASS]", "data": { "device_id": "ambient_light_1", "tools": [ { "function": "get_brightness", "description": "Return the current brightness percentage. Requires the ambient light to be powered on.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "brightness" ], "writes": [], "semantics": { "kind": "read", "property": "brightness", "response_key": "brightness", "preconditions": { "power": true } } }, { "function": "set_brightness", "description": "Set brightness to an integer percentage from 0 through 100. Requires the ambient light to be powered on. Invalid input or a failed power precondition leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "description": "Desired brightness percentage.", "minimum": 0, "maximum": 100, "multipleOf": 1 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "brightness" ], "writes": [ "brightness" ], "semantics": { "kind": "set", "property": "brightness", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_color", "description": "Return the selected 24-bit sRGB color in #RRGGBB format. Requires the ambient light to be powered on.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "color" ], "writes": [], "semantics": { "kind": "read", "property": "color", "response_key": "color", "preconditions": { "power": true } } }, { "function": "set_color", "description": "Set the color using the fixed 24-bit sRGB hexadecimal format #RRGGBB, for example #FF0000. Requires the ambient light to be powered on. Invalid input or a failed power precondition leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "description": "Desired 24-bit sRGB color in #RRGGBB format.", "pattern": "^#[0-9A-Fa-f]{6}$", "maxLength": 7, "examples": [ "#FFFFFF", "#FF0000", "#3366FF" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "brightness" ], "writes": [ "color" ], "semantics": { "kind": "set", "property": "color", "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": [ "brightness", "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": "driver_assistance_1" } } }, "result": { "call_id": "call_2", "turn_id": "turn_1", "sequence": 2, "status": "success", "code": "[PASS]", "data": { "device_id": "driver_assistance_1", "tools": [ { "function": "get_cruise_control_enabled", "description": "Return whether cruise-control assistance is enabled. This setting does not indicate that cruise control is actively controlling the vehicle.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "cruise_control_enabled" ], "writes": [], "semantics": { "kind": "read", "property": "cruise_control_enabled", "response_key": "cruise_control_enabled" } }, { "function": "set_cruise_control_enabled", "description": "Enable or disable cruise-control assistance. This changes only the local assistance setting and does not directly change vehicle speed. Invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "cruise_control_enabled" ], "semantics": { "kind": "set", "property": "cruise_control_enabled", "parameter": "value" } }, { "function": "get_target_speed", "description": "Return the configured cruise-control target speed without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "target_speed" ], "writes": [], "semantics": { "kind": "read", "property": "target_speed", "response_key": "target_speed" } }, { "function": "set_target_speed", "description": "Set the cruise-control target speed to an integer from 0 through 240 km/h. The setting may be configured while cruise control is disabled and does not directly alter actual vehicle speed. Invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 240, "multipleOf": 1 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "target_speed" ], "semantics": { "kind": "set", "property": "target_speed", "parameter": "value" } }, { "function": "get_lane_keeping_enabled", "description": "Return whether lane-keeping assistance is enabled. Enablement does not assert that lane keeping is currently active.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "lane_keeping_enabled" ], "writes": [], "semantics": { "kind": "read", "property": "lane_keeping_enabled", "response_key": "lane_keeping_enabled" } }, { "function": "set_lane_keeping_enabled", "description": "Enable or disable lane-keeping assistance as a local driver setting. This does not assert active steering control. Invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "lane_keeping_enabled" ], "semantics": { "kind": "set", "property": "lane_keeping_enabled", "parameter": "value" } }, { "function": "get_automatic_following_enabled", "description": "Return whether automatic-following assistance is enabled. Enablement does not assert that the vehicle is currently following another vehicle.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "automatic_following_enabled" ], "writes": [], "semantics": { "kind": "read", "property": "automatic_following_enabled", "response_key": "automatic_following_enabled" } }, { "function": "set_automatic_following_enabled", "description": "Enable or disable automatic-following assistance as a local driver setting. This does not assert active longitudinal control or alter actual vehicle speed. Invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "automatic_following_enabled" ], "semantics": { "kind": "set", "property": "automatic_following_enabled", "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": "external_power_supply_1" } } }, "result": { "call_id": "call_3", "turn_id": "turn_1", "sequence": 3, "status": "success", "code": "[PASS]", "data": { "device_id": "external_power_supply_1", "tools": [ { "function": "get_output_active", "description": "Return whether external power is currently being supplied.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "output_active" ], "writes": [], "semantics": { "kind": "read", "property": "output_active", "response_key": "output_active" } }, { "function": "get_reserve_percent", "description": "Return the configured external-discharge battery reserve threshold.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "reserve_percent" ], "writes": [], "semantics": { "kind": "read", "property": "reserve_percent", "response_key": "reserve_percent" } }, { "function": "set_reserve_percent", "description": "Set the reserve threshold to an integer from 0 through 100 percent. After assignment, if battery_percent is at or below the new threshold, active output stops, output_power becomes zero, and protection_reason becomes reserve_threshold_reached unless another reported protection reason is already active. If the battery is above the new threshold and the previous reason was reserve_threshold_reached, that reason is cleared to none; output does not restart automatically. Invalid input leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "description": "Desired reserve threshold in percent.", "examples": [ 20, 30, 50 ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "battery_percent", "output_active", "protection_reason" ], "writes": [ "reserve_percent", "output_active", "output_power", "protection_reason" ], "semantics": { "kind": "set", "property": "reserve_percent", "parameter": "value" } }, { "function": "get_output_power", "description": "Return actual measured external output power in watts. Stopped output always reports zero.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "output_power" ], "writes": [], "semantics": { "kind": "read", "property": "output_power", "response_key": "output_power" } }, { "function": "get_load_connected", "description": "Return whether an external electrical load is connected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "load_connected" ], "writes": [], "semantics": { "kind": "read", "property": "load_connected", "response_key": "load_connected" } }, { "function": "get_battery_percent", "description": "Return the battery percentage currently used for reserve-threshold protection.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "battery_percent" ], "writes": [], "semantics": { "kind": "read", "property": "battery_percent", "response_key": "battery_percent" } }, { "function": "get_load_power_demand", "description": "Return the power currently requested by the connected external load.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "load_power_demand" ], "writes": [], "semantics": { "kind": "read", "property": "load_power_demand", "response_key": "load_power_demand" } }, { "function": "get_protection_reason", "description": "Return the current energy or protection condition blocking external output. A value of none means no energy or protection restriction is active.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "protection_reason" ], "writes": [], "semantics": { "kind": "read", "property": "protection_reason", "response_key": "protection_reason" } }, { "function": "report_feedback", "description": "Apply one complete deterministic feedback sample. The supplied connection, battery percentage, and load demand replace their previous values. A supplied protection reason other than none takes priority; otherwise protection_reason becomes reserve_threshold_reached when battery_percent is at or below reserve_percent, or none when it is above the threshold. If output is active, it remains active with output_power equal to load_power_demand only when the load is connected and the resulting protection reason is none. Otherwise output stops and output_power becomes zero. Inactive output remains stopped with zero output power. Invalid input leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "load_connected": { "type": "boolean", "description": "Whether the external load is connected." }, "battery_percent": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "description": "Current battery percentage." }, "load_power_demand": { "type": "integer", "minimum": 0, "maximum": 6000, "multipleOf": 1, "description": "Current connected-load demand in watts." }, "protection_reason": { "type": "string", "enum": [ "none", "insufficient_energy", "overload", "overtemperature", "system_fault" ], "description": "Reported non-reserve protection condition.", "examples": [ "none", "overload", "overtemperature" ] } }, "required": [ "load_connected", "battery_percent", "load_power_demand", "protection_reason" ], "additionalProperties": false }, "reads": [ "output_active", "reserve_percent" ], "writes": [ "load_connected", "battery_percent", "load_power_demand", "protection_reason", "output_active", "output_power" ], "semantics": { "kind": "custom", "reason": "The feedback sample derives reserve protection and conditionally stops output or maps load demand to measured output; this conditional multi-property mapping is not expressible by the standard update semantics." } }, { "function": "start_output", "description": "Start external power output. The action succeeds only while output is stopped, a load is connected, and protection_reason is none. A none protection reason establishes that the latest battery feedback is above reserve_percent and no other reported protection condition is active. On success, output_active becomes true and output_power becomes the current load_power_demand. A rejected request leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "output_active", "load_connected", "load_power_demand", "protection_reason" ], "writes": [ "output_active", "output_power" ], "semantics": { "kind": "custom", "reason": "Starting requires preconditions and copies the current load_power_demand property into output_power, which cannot be represented by literal or parameter update bindings." } }, { "function": "stop_output", "description": "Stop external power output from any state and set measured output power to zero. Reserve configuration and feedback states are preserved.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [], "writes": [ "output_active", "output_power" ], "semantics": { "kind": "update", "fields": { "output_active": { "value": false }, "output_power": { "value": 0 } } } } ] }, "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": "mirror_1" } } }, "result": { "call_id": "call_4", "turn_id": "turn_1", "sequence": 4, "status": "success", "code": "[PASS]", "data": { "device_id": "mirror_1", "tools": [ { "function": "get_horizontal_position", "description": "Return the normalized horizontal mirror position. The query is rejected while power is off.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "horizontal_position" ], "writes": [], "semantics": { "kind": "read", "property": "horizontal_position", "response_key": "horizontal_position", "preconditions": { "power": true } } }, { "function": "set_horizontal_position", "description": "Set the normalized horizontal mirror position to an integer from -100 through 100. The action is rejected while power is off, and invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": -100, "maximum": 100, "multipleOf": 1 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "horizontal_position" ], "semantics": { "kind": "set", "property": "horizontal_position", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_vertical_position", "description": "Return the normalized vertical mirror position. The query is rejected while power is off.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "vertical_position" ], "writes": [], "semantics": { "kind": "read", "property": "vertical_position", "response_key": "vertical_position", "preconditions": { "power": true } } }, { "function": "set_vertical_position", "description": "Set the normalized vertical mirror position to an integer from -100 through 100. The action is rejected while power is off, and invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": -100, "maximum": 100, "multipleOf": 1 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "vertical_position" ], "semantics": { "kind": "set", "property": "vertical_position", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_folded", "description": "Return whether the exterior mirror is folded inward. The query is rejected while power is off.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "folded" ], "writes": [], "semantics": { "kind": "read", "property": "folded", "response_key": "folded", "preconditions": { "power": true } } }, { "function": "fold", "description": "Fold the exterior mirror inward. The action succeeds only while power is on and the mirror is currently unfolded; otherwise it is rejected without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "folded" ], "writes": [ "folded" ], "semantics": { "kind": "update", "fields": { "folded": { "value": true } }, "preconditions": { "power": true, "folded": false } } }, { "function": "unfold", "description": "Unfold the exterior mirror. The action succeeds only while power is on and the mirror is currently folded; otherwise it is rejected without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "folded" ], "writes": [ "folded" ], "semantics": { "kind": "update", "fields": { "folded": { "value": false } }, "preconditions": { "power": true, "folded": 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": "mirror_2" } } }, "result": { "call_id": "call_5", "turn_id": "turn_1", "sequence": 5, "status": "success", "code": "[PASS]", "data": { "device_id": "mirror_2", "tools": [ { "function": "get_horizontal_position", "description": "Return the normalized horizontal mirror position. The query is rejected while power is off.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "horizontal_position" ], "writes": [], "semantics": { "kind": "read", "property": "horizontal_position", "response_key": "horizontal_position", "preconditions": { "power": true } } }, { "function": "set_horizontal_position", "description": "Set the normalized horizontal mirror position to an integer from -100 through 100. The action is rejected while power is off, and invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": -100, "maximum": 100, "multipleOf": 1 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "horizontal_position" ], "semantics": { "kind": "set", "property": "horizontal_position", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_vertical_position", "description": "Return the normalized vertical mirror position. The query is rejected while power is off.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "vertical_position" ], "writes": [], "semantics": { "kind": "read", "property": "vertical_position", "response_key": "vertical_position", "preconditions": { "power": true } } }, { "function": "set_vertical_position", "description": "Set the normalized vertical mirror position to an integer from -100 through 100. The action is rejected while power is off, and invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": -100, "maximum": 100, "multipleOf": 1 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "vertical_position" ], "semantics": { "kind": "set", "property": "vertical_position", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_folded", "description": "Return whether the exterior mirror is folded inward. The query is rejected while power is off.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "folded" ], "writes": [], "semantics": { "kind": "read", "property": "folded", "response_key": "folded", "preconditions": { "power": true } } }, { "function": "fold", "description": "Fold the exterior mirror inward. The action succeeds only while power is on and the mirror is currently unfolded; otherwise it is rejected without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "folded" ], "writes": [ "folded" ], "semantics": { "kind": "update", "fields": { "folded": { "value": true } }, "preconditions": { "power": true, "folded": false } } }, { "function": "unfold", "description": "Unfold the exterior mirror. The action succeeds only while power is on and the mirror is currently folded; otherwise it is rejected without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "folded" ], "writes": [ "folded" ], "semantics": { "kind": "update", "fields": { "folded": { "value": false } }, "preconditions": { "power": true, "folded": 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": 5 } }, { "kind": "tool_exchange", "call": { "call_id": "call_6", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "navigation_1" } } }, "result": { "call_id": "call_6", "turn_id": "turn_1", "sequence": 6, "status": "success", "code": "[PASS]", "data": { "device_id": "navigation_1", "tools": [ { "function": "get_destination", "description": "Return the selected local simulated destination. The module must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "destination" ], "writes": [], "semantics": { "kind": "read", "property": "destination", "response_key": "destination", "preconditions": { "power": true } } }, { "function": "set_destination", "description": "Select a local simulated destination while powered and while guidance is idle or completed. This clears the previous route selection and resets route progress and metrics. Invalid input or a failed precondition leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "destination": { "type": "string", "enum": [ "city_center", "airport", "charging_station" ], "examples": [ "city_center", "airport", "charging_station" ] } }, "required": [ "destination" ], "additionalProperties": false }, "reads": [ "power", "status" ], "writes": [ "destination", "selected_route", "status", "phase", "remaining_minutes", "started_at_minute", "progress_minutes", "remaining_distance" ], "semantics": { "kind": "update", "fields": { "destination": { "parameter": "destination" }, "selected_route": { "value": "none" }, "status": { "value": "idle" }, "phase": { "value": "idle" }, "remaining_minutes": { "value": 0 }, "started_at_minute": { "value": 0 }, "progress_minutes": { "value": 0 }, "remaining_distance": { "value": 0 } }, "preconditions": { "power": true, "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "get_route_preference", "description": "Return the stored route preference. The module must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "route_preference" ], "writes": [], "semantics": { "kind": "read", "property": "route_preference", "response_key": "route_preference", "preconditions": { "power": true } } }, { "function": "set_route_preference", "description": "Store the route calculation preference while powered. The setting does not alter a route that is already selected or running. Invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "preference": { "type": "string", "enum": [ "balanced", "avoid_tolls", "avoid_highways" ], "examples": [ "balanced", "avoid_tolls", "avoid_highways" ] } }, "required": [ "preference" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "route_preference" ], "semantics": { "kind": "set", "property": "route_preference", "parameter": "preference", "preconditions": { "power": true } } }, { "function": "get_selected_route", "description": "Return the selected synthetic route profile. The module must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "selected_route" ], "writes": [], "semantics": { "kind": "read", "property": "selected_route", "response_key": "selected_route", "preconditions": { "power": true } } }, { "function": "select_route", "description": "Select a deterministic local route while powered, with a destination set, and while guidance is idle or completed. Fastest initializes 12 km and 12 minutes, shortest initializes 10 km and 15 minutes, and scenic initializes 18 km and 20 minutes. Progress is reset to zero. Invalid input or a failed precondition leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "route": { "type": "string", "enum": [ "fastest", "shortest", "scenic" ], "examples": [ "fastest", "shortest", "scenic" ] } }, "required": [ "route" ], "additionalProperties": false }, "reads": [ "power", "destination", "status" ], "writes": [ "selected_route", "status", "phase", "remaining_minutes", "started_at_minute", "progress_minutes", "remaining_distance" ], "semantics": { "kind": "custom", "reason": "The selected route deterministically chooses different linked duration and distance values, which cannot be represented by unconditional field bindings.", "preconditions": { "power": true, "destination": { "one_of": [ "city_center", "airport", "charging_station" ] }, "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "get_status", "description": "Return the navigation process state. The module must be powered.", "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 navigation process phase. The module must be powered.", "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_estimated_time", "description": "Return the estimated whole minutes remaining in the current synthetic route. The module must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "remaining_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "remaining_minutes", "response_key": "estimated_time", "preconditions": { "power": true } } }, { "function": "get_started_at_minute", "description": "Return the simulation elapsed-minute timestamp used as the guidance progress origin. The module must be powered.", "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 the whole minutes of simulated route progress. The module must be powered.", "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": "get_remaining_distance", "description": "Return the estimated whole kilometers remaining in the selected synthetic route. The module must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "remaining_distance" ], "writes": [], "semantics": { "kind": "read", "property": "remaining_distance", "response_key": "remaining_distance", "preconditions": { "power": true } } }, { "function": "get_voice_guidance", "description": "Return whether simulated voice guidance is enabled. The module must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "voice_guidance" ], "writes": [], "semantics": { "kind": "read", "property": "voice_guidance", "response_key": "voice_guidance", "preconditions": { "power": true } } }, { "function": "set_voice_guidance", "description": "Enable or disable simulated navigation voice prompts while powered. Invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "enabled": { "type": "boolean" } }, "required": [ "enabled" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "voice_guidance" ], "semantics": { "kind": "set", "property": "voice_guidance", "parameter": "enabled", "preconditions": { "power": true } } }, { "function": "get_guidance_volume", "description": "Return the configured navigation prompt audio level. The module must be powered.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "guidance_volume" ], "writes": [], "semantics": { "kind": "read", "property": "guidance_volume", "response_key": "guidance_volume", "preconditions": { "power": true } } }, { "function": "set_guidance_volume", "description": "Set the simulated navigation prompt audio level from 0 through 120 dBA while powered. Invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "volume": { "type": "integer", "minimum": 0, "maximum": 120, "multipleOf": 1 } }, "required": [ "volume" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "guidance_volume" ], "semantics": { "kind": "set", "property": "guidance_volume", "parameter": "volume", "preconditions": { "power": true } } }, { "function": "start_guidance", "description": "Start deterministic guidance while powered using the supplied route profile. A destination must already be set and the process must be idle or completed. Fastest starts at 12 km for 12 minutes, shortest at 10 km for 15 minutes, and scenic at 18 km for 20 minutes. Progress starts at zero, so successful start does not itself represent movement or arrival.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "route": { "type": "string", "enum": [ "fastest", "shortest", "scenic" ], "examples": [ "fastest", "shortest", "scenic" ] } }, "required": [ "route" ], "additionalProperties": false }, "reads": [ "power", "destination", "status", "progress_minutes" ], "writes": [ "selected_route", "status", "phase", "remaining_minutes", "started_at_minute", "progress_minutes", "remaining_distance" ], "semantics": { "kind": "process_start", "mode_parameter": "route", "preconditions": { "power": true, "destination": { "one_of": [ "city_center", "airport", "charging_station" ] }, "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "pause_guidance", "description": "Pause running guidance while powered. Current progress, remaining time, and remaining distance are retained. Calling this action unless guidance is running is rejected without mutation.", "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_guidance", "description": "Resume paused guidance while powered without resetting progress. The timing origin is recalculated from the retained progress. Calling this action unless guidance is paused is rejected without mutation.", "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": "cancel_guidance", "description": "Cancel running or paused guidance while powered and return the process to idle. The destination and selected route are preserved, while progress is reset and the selected route's full preview distance and time are restored. Calling this action in any other state is rejected without mutation.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "selected_route", "status" ], "writes": [ "status", "phase", "remaining_minutes", "started_at_minute", "progress_minutes", "remaining_distance" ], "semantics": { "kind": "custom", "reason": "Cancellation restores route-specific duration and distance values that depend on the selected route and cannot be expressed as unconditional field bindings.", "preconditions": { "power": true, "status": { "one_of": [ "running", "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": 6 } }, { "kind": "tool_exchange", "call": { "call_id": "call_7", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "parking_camera_1" } } }, "result": { "call_id": "call_7", "turn_id": "turn_1", "sequence": 7, "status": "success", "code": "[PASS]", "data": { "device_id": "parking_camera_1", "tools": [ { "function": "get_display_active", "description": "Return whether a parking-camera image is currently displayed without changing state. The module must be powered on.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "display_active" ], "writes": [], "semantics": { "kind": "read", "property": "display_active", "response_key": "display_active", "preconditions": { "power": true } } }, { "function": "set_display_active", "description": "Turn the parking-camera image display on or off while the module is powered on. Turning the display off always succeeds while powered. Turning it on succeeds only when the selected view exists and its image_available field is true; otherwise the request is rejected and state remains unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean" } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "power", "selected_view", "available_views" ], "writes": [ "display_active" ], "semantics": { "kind": "set", "property": "display_active", "parameter": "value", "preconditions": { "power": true } } }, { "function": "get_selected_view", "description": "Return the identifier of the currently selected parking-camera view without changing state. The module must be powered on.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "selected_view" ], "writes": [], "semantics": { "kind": "read", "property": "selected_view", "response_key": "selected_view", "preconditions": { "power": true } } }, { "function": "set_selected_view", "description": "Select a view from the fixed available_views collection while the module is powered on. An unknown view is rejected. An unavailable view may be selected while the image display is inactive, but switching an active display to an unavailable view is rejected. Rejected requests leave all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "view_id": { "type": "string", "pattern": "^[A-Za-z0-9_-]{1,32}$", "maxLength": 32, "examples": [ "rear" ] } }, "required": [ "view_id" ], "additionalProperties": false }, "reads": [ "power", "display_active", "available_views" ], "writes": [ "selected_view" ], "semantics": { "kind": "set", "property": "selected_view", "parameter": "view_id", "preconditions": { "power": true, "available_views": { "contains_key": { "parameter": "view_id" } } } } }, { "function": "get_camera_count", "description": "Return the fixed number of installed physical cameras assigned to this module without changing state. The module must be powered on.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "camera_count" ], "writes": [], "semantics": { "kind": "read", "property": "camera_count", "response_key": "camera_count", "preconditions": { "power": true } } }, { "function": "get_available_view", "description": "Return the fixed display name and current image availability for one selectable view while the module is powered on. An unknown view identifier is rejected without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "view_id": { "type": "string", "pattern": "^[A-Za-z0-9_-]{1,32}$", "maxLength": 32, "examples": [ "rear" ] } }, "required": [ "view_id" ], "additionalProperties": false }, "reads": [ "power", "available_views" ], "writes": [], "semantics": { "kind": "collection_read", "property": "available_views", "id_parameter": "view_id", "response_key": "view", "preconditions": { "power": true, "available_views": { "contains_key": { "parameter": "view_id" } } } } }, { "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": [ "display_active", "power" ], "semantics": { "kind": "set", "property": "power", "parameter": "value" } } ] }, "mutation_committed": false, "audit_sequence": 7 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_8", "turn_id": "turn_2", "command": { "target": "parking_camera_1", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_8", "turn_id": "turn_2", "sequence": 8, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 9 } }, { "kind": "tool_exchange", "call": { "call_id": "call_9", "turn_id": "turn_2", "command": { "target": "parking_camera_1", "function": "set_display_active", "parameters": { "value": true } } }, "result": { "call_id": "call_9", "turn_id": "turn_2", "sequence": 9, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 10 } }, { "kind": "tool_exchange", "call": { "call_id": "call_10", "turn_id": "turn_2", "command": { "target": "external_power_supply_1", "function": "set_reserve_percent", "parameters": { "value": 0 } } }, "result": { "call_id": "call_10", "turn_id": "turn_2", "sequence": 10, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 11 } }, { "kind": "tool_exchange", "call": { "call_id": "call_11", "turn_id": "turn_2", "command": { "target": "ambient_light_1", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_11", "turn_id": "turn_2", "sequence": 11, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 12 } }, { "kind": "tool_exchange", "call": { "call_id": "call_12", "turn_id": "turn_2", "command": { "target": "ambient_light_1", "function": "set_brightness", "parameters": { "value": 40 } } }, "result": { "call_id": "call_12", "turn_id": "turn_2", "sequence": 12, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 13 } }, { "kind": "tool_exchange", "call": { "call_id": "call_13", "turn_id": "turn_2", "command": { "target": "driver_assistance_1", "function": "set_lane_keeping_enabled", "parameters": { "value": false } } }, "result": { "call_id": "call_13", "turn_id": "turn_2", "sequence": 13, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 14 } }, { "kind": "tool_exchange", "call": { "call_id": "call_14", "turn_id": "turn_2", "command": { "target": "navigation_1", "function": "get_destination", "parameters": {} } }, "result": { "call_id": "call_14", "turn_id": "turn_2", "sequence": 14, "status": "success", "code": "[PASS]", "data": { "destination": "city_center" }, "mutation_committed": false, "audit_sequence": 15 } }, { "kind": "tool_exchange", "call": { "call_id": "call_15", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": "city_center" } } }, "result": { "call_id": "call_15", "turn_id": "turn_2", "sequence": 15, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 0 }, "mutation_committed": false, "audit_sequence": 16 } }, { "kind": "tool_exchange", "call": { "call_id": "call_16", "turn_id": "turn_2", "command": { "target": "mirror_1", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_16", "turn_id": "turn_2", "sequence": 16, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 17 } }, { "kind": "tool_exchange", "call": { "call_id": "call_17", "turn_id": "turn_2", "command": { "target": "mirror_1", "function": "set_horizontal_position", "parameters": { "value": 1 } } }, "result": { "call_id": "call_17", "turn_id": "turn_2", "sequence": 17, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 18 } }, { "kind": "tool_exchange", "call": { "call_id": "call_18", "turn_id": "turn_2", "command": { "target": "mirror_2", "function": "set_power", "parameters": { "value": true } } }, "result": { "call_id": "call_18", "turn_id": "turn_2", "sequence": 18, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 19 } }, { "kind": "tool_exchange", "call": { "call_id": "call_19", "turn_id": "turn_2", "command": { "target": "mirror_2", "function": "set_horizontal_position", "parameters": { "value": 3 } } }, "result": { "call_id": "call_19", "turn_id": "turn_2", "sequence": 19, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 20 } }, { "kind": "tool_exchange", "call": { "call_id": "call_20", "turn_id": "turn_2", "command": { "target": "mirror_1", "function": "set_vertical_position", "parameters": { "value": 1 } } }, "result": { "call_id": "call_20", "turn_id": "turn_2", "sequence": 20, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 21 } }, { "kind": "tool_exchange", "call": { "call_id": "call_21", "turn_id": "turn_2", "command": { "target": "mirror_2", "function": "set_vertical_position", "parameters": { "value": 2 } } }, "result": { "call_id": "call_21", "turn_id": "turn_2", "sequence": 21, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 22 } }, { "kind": "tool_exchange", "call": { "call_id": "call_22", "turn_id": "turn_2", "command": { "target": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_22", "turn_id": "turn_2", "sequence": 22, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 23 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }