{ "trajectory_id": "task_4cd87d90_reference", "world_id": "task_4cd87d90", "task_id": "task_4cd87d90", "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": "car_display_1" } } }, "result": { "call_id": "call_2", "turn_id": "turn_1", "sequence": 2, "status": "success", "code": "[PASS]", "data": { "device_id": "car_display_1", "tools": [ { "function": "get_brightness", "description": "Return the configured display brightness percentage without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "brightness" ], "writes": [], "semantics": { "kind": "read", "property": "brightness", "response_key": "brightness" } }, { "function": "set_brightness", "description": "Set display brightness to an integer from 0 through 100 percent. This changes only the display setting and does not claim a corresponding cabin illuminance. Invalid input is rejected and leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1 } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "brightness" ], "semantics": { "kind": "set", "property": "brightness", "parameter": "value" } }, { "function": "get_theme", "description": "Return the selected display theme without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "theme" ], "writes": [], "semantics": { "kind": "read", "property": "theme", "response_key": "theme" } }, { "function": "set_theme", "description": "Select the light or dark display theme. Invalid input is rejected and leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "light", "dark" ], "examples": [ "light", "dark" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "theme" ], "semantics": { "kind": "set", "property": "theme", "parameter": "value" } }, { "function": "get_layout", "description": "Return the selected display layout without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "layout" ], "writes": [], "semantics": { "kind": "read", "property": "layout", "response_key": "layout" } }, { "function": "set_layout", "description": "Select the standard, minimal, or split presentation layout. The setting changes presentation only and does not alter underlying vehicle state. Invalid input is rejected and leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "standard", "minimal", "split" ], "examples": [ "standard", "minimal", "split" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "layout" ], "semantics": { "kind": "set", "property": "layout", "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": "driver_assistance_1" } } }, "result": { "call_id": "call_3", "turn_id": "turn_1", "sequence": 3, "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": 3 } }, { "kind": "tool_exchange", "call": { "call_id": "call_4", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "electrified_drive_settings_1" } } }, "result": { "call_id": "call_4", "turn_id": "turn_1", "sequence": 4, "status": "success", "code": "[PASS]", "data": { "device_id": "electrified_drive_settings_1", "tools": [ { "function": "get_requested_mode", "description": "Return the most recently accepted driving-mode request without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "requested_mode" ], "writes": [], "semantics": { "kind": "read", "property": "requested_mode", "response_key": "requested_mode" } }, { "function": "get_effective_mode", "description": "Return the driving mode currently effective in the simulated powertrain strategy without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "effective_mode" ], "writes": [], "semantics": { "kind": "read", "property": "effective_mode", "response_key": "effective_mode" } }, { "function": "get_mode_configuration", "description": "Return the fixed configuration for one available driving mode, including its applicable powertrain types and switching condition. An unknown mode identifier is rejected without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "mode": { "type": "string", "pattern": "^[A-Za-z0-9_-]{1,32}$", "maxLength": 32, "examples": [ "standard" ] } }, "required": [ "mode" ], "additionalProperties": false }, "reads": [ "configured_modes" ], "writes": [], "semantics": { "kind": "collection_read", "property": "configured_modes", "id_parameter": "mode", "response_key": "mode_configuration", "preconditions": { "configured_modes": { "contains_key": { "parameter": "mode" } } } } }, { "function": "select_drive_mode", "description": "Select a driving mode configured for this vehicle model. Under the fixed unconditional switching policy, a valid selection atomically updates both requested_mode and effective_mode. Unknown mode identifiers are rejected and leave all state unchanged. This action changes only driving preferences and does not set vehicle speed or gear.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "mode": { "type": "string", "pattern": "^[A-Za-z0-9_-]{1,32}$", "maxLength": 32, "examples": [ "standard" ] } }, "required": [ "mode" ], "additionalProperties": false }, "reads": [ "configured_modes" ], "writes": [ "requested_mode", "effective_mode" ], "semantics": { "kind": "update", "fields": { "requested_mode": { "parameter": "mode" }, "effective_mode": { "parameter": "mode" } }, "preconditions": { "configured_modes": { "contains_key": { "parameter": "mode" } } } } }, { "function": "get_requested_regeneration_mode", "description": "Return the most recently accepted regenerative-braking strategy request without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "requested_regeneration_mode" ], "writes": [], "semantics": { "kind": "read", "property": "requested_regeneration_mode", "response_key": "requested_regeneration_mode" } }, { "function": "get_effective_regeneration_mode", "description": "Return the regenerative-braking strategy currently effective in the simulated electrified powertrain without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "effective_regeneration_mode" ], "writes": [], "semantics": { "kind": "read", "property": "effective_regeneration_mode", "response_key": "effective_regeneration_mode" } }, { "function": "select_regeneration_mode", "description": "Select low, standard, or high regenerative-braking intensity. A valid selection atomically updates both the requested and effective regenerative-braking modes. Invalid values leave all state unchanged. This preference change does not directly modify battery charge level, remaining range, vehicle speed, or gear.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "mode": { "type": "string", "enum": [ "low", "standard", "high" ], "examples": [ "low", "standard", "high" ] } }, "required": [ "mode" ], "additionalProperties": false }, "reads": [], "writes": [ "requested_regeneration_mode", "effective_regeneration_mode" ], "semantics": { "kind": "update", "fields": { "requested_regeneration_mode": { "parameter": "mode" }, "effective_regeneration_mode": { "parameter": "mode" } } } } ] }, "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": "external_power_supply_1" } } }, "result": { "call_id": "call_5", "turn_id": "turn_1", "sequence": 5, "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": 5 } }, { "kind": "tool_exchange", "call": { "call_id": "call_6", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "infotainment_1" } } }, "result": { "call_id": "call_6", "turn_id": "turn_1", "sequence": 6, "status": "success", "code": "[PASS]", "data": { "device_id": "infotainment_1", "tools": [ { "function": "get_volume", "description": "Return the configured media audio level. The system must be powered on.", "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": "Set the media audio level to an integer from 0 through 120. The system must be powered on. Invalid input or a failed precondition 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": [ "volume" ], "semantics": { "kind": "set", "property": "volume", "parameter": "volume", "preconditions": { "power": true } } }, { "function": "get_muted", "description": "Return whether multimedia audio is muted. The system must be powered on.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "muted" ], "writes": [], "semantics": { "kind": "read", "property": "muted", "response_key": "muted", "preconditions": { "power": true } } }, { "function": "set_muted", "description": "Set the multimedia mute state without changing the saved volume. The system must be powered on.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "muted": { "type": "boolean" } }, "required": [ "muted" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "muted" ], "semantics": { "kind": "set", "property": "muted", "parameter": "muted", "preconditions": { "power": true } } }, { "function": "get_source", "description": "Return the selected multimedia source. The system must be powered on.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source" ], "writes": [], "semantics": { "kind": "read", "property": "source", "response_key": "source", "preconditions": { "power": true } } }, { "function": "set_source", "description": "Select radio, MP3, or Bluetooth as the multimedia source. The system must be powered on. Invalid values leave state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "source": { "type": "string", "enum": [ "radio", "mp3", "bluetooth" ], "examples": [ "radio", "mp3", "bluetooth" ] } }, "required": [ "source" ], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "source" ], "semantics": { "kind": "set", "property": "source", "parameter": "source", "preconditions": { "power": true } } }, { "function": "get_playback_state", "description": "Return the current multimedia playback state. The system must be powered on.", "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": "play", "description": "Start or resume playback while powered on. Playback must currently be paused or stopped; otherwise the action is rejected without mutation.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "playback_state" ], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "playing" } }, "preconditions": { "power": true, "playback_state": { "one_of": [ "paused", "stopped" ] } } } }, { "function": "pause", "description": "Pause active playback while powered on. The action is rejected without mutation unless playback is currently playing.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "playback_state" ], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "paused" } }, "preconditions": { "power": true, "playback_state": "playing" } } }, { "function": "stop", "description": "Stop playback while powered on, preserving source, volume, mute, tuning, and device settings.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power" ], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "stopped" } }, "preconditions": { "power": true } } }, { "function": "get_radio_band", "description": "Return the selected radio band. The system must be powered on with radio selected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "radio_band" ], "writes": [], "semantics": { "kind": "read", "property": "radio_band", "response_key": "radio_band", "preconditions": { "power": true, "source": "radio" } } }, { "function": "set_radio_band", "description": "Select the FM or AM radio band. The system must be powered on with radio selected. Invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "band": { "type": "string", "enum": [ "fm", "am" ], "examples": [ "fm", "am" ] } }, "required": [ "band" ], "additionalProperties": false }, "reads": [ "power", "source" ], "writes": [ "radio_band" ], "semantics": { "kind": "set", "property": "radio_band", "parameter": "band", "preconditions": { "power": true, "source": "radio" } } }, { "function": "get_fm_frequency", "description": "Return the current FM frequency. The system must be powered on with radio and the FM band selected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "radio_band", "fm_frequency" ], "writes": [], "semantics": { "kind": "read", "property": "fm_frequency", "response_key": "fm_frequency", "preconditions": { "power": true, "source": "radio", "radio_band": "fm" } } }, { "function": "set_fm_frequency", "description": "Tune FM from 87.5 through 108.0 MHz in 0.1 MHz increments. The system must be powered on with radio and FM selected. Failure leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "frequency": { "type": "number", "minimum": 87.5, "maximum": 108.0, "multipleOf": 0.1, "examples": [ 88.1, 99.5, 107.9 ] } }, "required": [ "frequency" ], "additionalProperties": false }, "reads": [ "power", "source", "radio_band" ], "writes": [ "fm_frequency" ], "semantics": { "kind": "set", "property": "fm_frequency", "parameter": "frequency", "preconditions": { "power": true, "source": "radio", "radio_band": "fm" } } }, { "function": "get_am_frequency", "description": "Return the current AM frequency. The system must be powered on with radio and the AM band selected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "radio_band", "am_frequency" ], "writes": [], "semantics": { "kind": "read", "property": "am_frequency", "response_key": "am_frequency", "preconditions": { "power": true, "source": "radio", "radio_band": "am" } } }, { "function": "set_am_frequency", "description": "Tune AM from 520 through 1710 kHz in 10 kHz increments. The system must be powered on with radio and AM selected. Failure leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "frequency": { "type": "integer", "minimum": 520, "maximum": 1710, "multipleOf": 10, "examples": [ 520, 1000, 1710 ] } }, "required": [ "frequency" ], "additionalProperties": false }, "reads": [ "power", "source", "radio_band" ], "writes": [ "am_frequency" ], "semantics": { "kind": "set", "property": "am_frequency", "parameter": "frequency", "preconditions": { "power": true, "source": "radio", "radio_band": "am" } } }, { "function": "save_fm_station", "description": "Save an FM frequency as a new preset and return its generated ID. The system must be powered on with radio selected. Existing presets are inspected to generate a deterministic noncolliding ID. Failure preserves all existing presets.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "frequency": { "type": "number", "minimum": 87.5, "maximum": 108.0, "multipleOf": 0.1, "examples": [ 88.1, 99.5 ] } }, "required": [ "frequency" ], "additionalProperties": false }, "reads": [ "power", "source", "radio_presets" ], "writes": [ "radio_presets" ], "semantics": { "kind": "collection_add", "property": "radio_presets", "fields": { "band": { "value": "fm" }, "frequency": { "parameter": "frequency" } }, "preconditions": { "power": true, "source": "radio" }, "response_key": "preset_id" } }, { "function": "save_am_station", "description": "Save an AM frequency as a new preset and return its generated ID. The system must be powered on with radio selected. Existing presets are inspected to generate a deterministic noncolliding ID. Failure preserves all existing presets.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "frequency": { "type": "integer", "minimum": 520, "maximum": 1710, "multipleOf": 10, "examples": [ 520, 1000 ] } }, "required": [ "frequency" ], "additionalProperties": false }, "reads": [ "power", "source", "radio_presets" ], "writes": [ "radio_presets" ], "semantics": { "kind": "collection_add", "property": "radio_presets", "fields": { "band": { "value": "am" }, "frequency": { "parameter": "frequency" } }, "preconditions": { "power": true, "source": "radio" }, "response_key": "preset_id" } }, { "function": "get_radio_preset", "description": "Return one saved radio preset by ID. The system must be powered on with radio selected, and the preset must exist.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "preset_id": { "type": "string", "minLength": 1, "examples": [ "preset_1" ] } }, "required": [ "preset_id" ], "additionalProperties": false }, "reads": [ "power", "source", "radio_presets" ], "writes": [], "semantics": { "kind": "collection_read", "property": "radio_presets", "id_parameter": "preset_id", "response_key": "preset", "preconditions": { "power": true, "source": "radio", "radio_presets": { "contains_key": { "parameter": "preset_id" } } } } }, { "function": "recall_radio_station", "description": "Recall an existing preset by selecting its stored band and tuning the matching FM or AM frequency. The system must be powered on with radio selected. Failure leaves tuning unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "preset_id": { "type": "string", "minLength": 1, "examples": [ "preset_1" ] } }, "required": [ "preset_id" ], "additionalProperties": false }, "reads": [ "power", "source", "radio_presets" ], "writes": [ "radio_band", "fm_frequency", "am_frequency" ], "semantics": { "kind": "custom", "reason": "Recalling a preset conditionally writes either the FM or AM tuning property according to the stored band.", "preconditions": { "power": true, "source": "radio", "radio_presets": { "contains_key": { "parameter": "preset_id" } } } } }, { "function": "get_repeat_mode", "description": "Return the MP3 repeat preference. The system must be powered on with MP3 selected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "repeat_mode" ], "writes": [], "semantics": { "kind": "read", "property": "repeat_mode", "response_key": "repeat_mode", "preconditions": { "power": true, "source": "mp3" } } }, { "function": "set_repeat_mode", "description": "Set the MP3 repeat preference to off, one, or all. The system must be powered on with MP3 selected. Invalid input leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "mode": { "type": "string", "enum": [ "off", "one", "all" ], "examples": [ "off", "one", "all" ] } }, "required": [ "mode" ], "additionalProperties": false }, "reads": [ "power", "source" ], "writes": [ "repeat_mode" ], "semantics": { "kind": "set", "property": "repeat_mode", "parameter": "mode", "preconditions": { "power": true, "source": "mp3" } } }, { "function": "get_current_track_id", "description": "Return the selected MP3 track ID. The system must be powered on with MP3 selected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "current_track_id" ], "writes": [], "semantics": { "kind": "read", "property": "current_track_id", "response_key": "current_track_id", "preconditions": { "power": true, "source": "mp3" } } }, { "function": "get_current_track_info", "description": "Return the artist, title, and album of the selected MP3 track. The system must be powered on with MP3 selected. This query does not change state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "current_track_id", "mp3_tracks" ], "writes": [], "semantics": { "kind": "custom", "reason": "The response projects metadata from the MP3 collection record identified by the current track ID.", "preconditions": { "power": true, "source": "mp3" } } }, { "function": "previous_track", "description": "Select the previous MP3 track in deterministic library order, wrapping from the first track to the last. The system must be powered on with MP3 selected.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "mp3_tracks", "current_track_id" ], "writes": [ "current_track_id" ], "semantics": { "kind": "custom", "reason": "Selecting the preceding collection key with wraparound cannot be represented by a direct set or update binding.", "preconditions": { "power": true, "source": "mp3" } } }, { "function": "next_track", "description": "Select the next MP3 track in deterministic library order, wrapping from the last track to the first. The system must be powered on with MP3 selected.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "mp3_tracks", "current_track_id" ], "writes": [ "current_track_id" ], "semantics": { "kind": "custom", "reason": "Selecting the following collection key with wraparound cannot be represented by a direct set or update binding.", "preconditions": { "power": true, "source": "mp3" } } }, { "function": "list_connectable_bluetooth_devices", "description": "Return known Bluetooth records whose connectable field is true. The system must be powered on with Bluetooth selected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "bluetooth_devices" ], "writes": [], "semantics": { "kind": "custom", "reason": "The response filters the Bluetooth device collection by the connectable record field.", "preconditions": { "power": true, "source": "bluetooth" } } }, { "function": "list_connected_bluetooth_devices", "description": "Return known Bluetooth records whose connected field is true. The system must be powered on with Bluetooth selected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "bluetooth_devices" ], "writes": [], "semantics": { "kind": "custom", "reason": "The response filters the Bluetooth device collection by the connected record field.", "preconditions": { "power": true, "source": "bluetooth" } } }, { "function": "list_saved_bluetooth_devices", "description": "Return known Bluetooth records whose saved field is true. The system must be powered on with Bluetooth selected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power", "source", "bluetooth_devices" ], "writes": [], "semantics": { "kind": "custom", "reason": "The response filters the Bluetooth device collection by the saved record field.", "preconditions": { "power": true, "source": "bluetooth" } } }, { "function": "save_bluetooth_device", "description": "Mark an existing known Bluetooth device as saved. The system must be powered on with Bluetooth selected, and the device ID must exist. Failure leaves every record unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "device_id": { "type": "string", "minLength": 1, "examples": [ "phone_1", "phone_2" ] } }, "required": [ "device_id" ], "additionalProperties": false }, "reads": [ "power", "source", "bluetooth_devices" ], "writes": [ "bluetooth_devices" ], "semantics": { "kind": "collection_update", "property": "bluetooth_devices", "id_parameter": "device_id", "fields": { "saved": { "value": true } }, "preconditions": { "power": true, "source": "bluetooth", "bluetooth_devices": { "contains_key": { "parameter": "device_id" } } } } }, { "function": "connect_bluetooth_device", "description": "Connect an existing known Bluetooth device. The system must be powered on with Bluetooth selected, the device must exist, and its connectable field must be true. Invalid requests leave every device record unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "device_id": { "type": "string", "minLength": 1, "examples": [ "phone_1", "phone_2" ] } }, "required": [ "device_id" ], "additionalProperties": false }, "reads": [ "power", "source", "bluetooth_devices" ], "writes": [ "bluetooth_devices" ], "semantics": { "kind": "custom", "reason": "Connecting conditionally checks the selected collection record's connectable field before setting only its connected field to true.", "preconditions": { "power": true, "source": "bluetooth", "bluetooth_devices": { "contains_key": { "parameter": "device_id" } } } } }, { "function": "disconnect_bluetooth_device", "description": "Disconnect an existing known Bluetooth device by setting only that record's connected field to false. The system must be powered on with Bluetooth selected, and the device must exist.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "device_id": { "type": "string", "minLength": 1, "examples": [ "phone_1", "phone_2" ] } }, "required": [ "device_id" ], "additionalProperties": false }, "reads": [ "power", "source", "bluetooth_devices" ], "writes": [ "bluetooth_devices" ], "semantics": { "kind": "collection_update", "property": "bluetooth_devices", "id_parameter": "device_id", "fields": { "connected": { "value": false } }, "preconditions": { "power": true, "source": "bluetooth", "bluetooth_devices": { "contains_key": { "parameter": "device_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": [ "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": "navigation_1" } } }, "result": { "call_id": "call_7", "turn_id": "turn_1", "sequence": 7, "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": 7 } }, { "kind": "tool_exchange", "call": { "call_id": "call_8", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "parking_camera_1" } } }, "result": { "call_id": "call_8", "turn_id": "turn_1", "sequence": 8, "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": 8 } }, { "kind": "tool_exchange", "call": { "call_id": "call_9", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "sunroof_5" } } }, "result": { "call_id": "call_9", "turn_id": "turn_1", "sequence": 9, "status": "success", "code": "[PASS]", "data": { "device_id": "sunroof_5", "tools": [ { "function": "get_position", "description": "Return the current window opening percentage without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "position" ], "writes": [], "semantics": { "kind": "read", "property": "position", "response_key": "position" } }, { "function": "set_position", "description": "Set the window opening percentage to an integer from 0 through 100 inclusive. Invalid values are rejected and leave state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "description": "Desired opening percentage.", "examples": [ 0, 50, 100 ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "position" ], "semantics": { "kind": "set", "property": "position", "parameter": "value" } }, { "function": "get_sunshade_position", "description": "Return the current sunshade opening percentage without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "sunshade_position" ], "writes": [], "semantics": { "kind": "read", "property": "sunshade_position", "response_key": "sunshade_position" } }, { "function": "set_sunshade_position", "description": "Set the sunshade opening percentage to an integer from 0 through 100 inclusive without changing the inherited sunroof opening percentage. Invalid values are rejected and leave state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "description": "Desired sunshade opening percentage.", "examples": [ 0, 50, 100 ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "sunshade_position" ], "semantics": { "kind": "set", "property": "sunshade_position", "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": "tailgate_6" } } }, "result": { "call_id": "call_10", "turn_id": "turn_1", "sequence": 10, "status": "success", "code": "[PASS]", "data": { "device_id": "tailgate_6", "tools": [ { "function": "get_locked", "description": "Return whether the door lock is engaged. The result does not indicate whether the door is physically closed.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "locked" ], "writes": [], "semantics": { "kind": "read", "property": "locked", "response_key": "locked" } }, { "function": "lock", "description": "Engage the door lock without changing the physical door position or closure feedback. The action is idempotent and may be used even when the door is open or ajar.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [], "writes": [ "locked" ], "semantics": { "kind": "update", "fields": { "locked": { "value": true } } } }, { "function": "unlock", "description": "Disengage the door lock without changing the physical door position or closure feedback. The action is idempotent.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [], "writes": [ "locked" ], "semantics": { "kind": "update", "fields": { "locked": { "value": false } } } }, { "function": "get_door_state", "description": "Return the manually reported physical door position: closed, ajar, or open. This function does not move the door.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "door_state" ], "writes": [], "semantics": { "kind": "read", "property": "door_state", "response_key": "door_state" } }, { "function": "get_closure_feedback", "description": "Return whether the door is fully closed and latched. This feedback is independent of the lock state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "closure_feedback" ], "writes": [], "semantics": { "kind": "read", "property": "closure_feedback", "response_key": "closure_feedback" } }, { "function": "manual_open", "description": "Record a local manual action that places the tailgate in the fully open position. This is not a powered opening command. If the tailgate is closed and locked, the action is rejected and all state remains unchanged. Otherwise, including when it is already open, door_state is set to open and closure_feedback is set to false atomically; the lock state is unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "locked", "door_state" ], "writes": [ "door_state", "closure_feedback" ], "semantics": { "kind": "update", "fields": { "door_state": { "value": "open" }, "closure_feedback": { "value": false } } } }, { "function": "manual_set_ajar", "description": "Record a local manual action that places the tailgate in the ajar or unlatched position. This is not a powered movement command. If the tailgate is closed and locked, the action is rejected and all state remains unchanged. Otherwise, including when it is already ajar, door_state is set to ajar and closure_feedback is set to false atomically; the lock state is unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "locked", "door_state" ], "writes": [ "door_state", "closure_feedback" ], "semantics": { "kind": "update", "fields": { "door_state": { "value": "ajar" }, "closure_feedback": { "value": false } } } }, { "function": "manual_close", "description": "Record a local manual action that fully closes and latches the door. This is not a powered closing command. The door state and closure feedback are updated atomically, and the lock state is unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [], "writes": [ "door_state", "closure_feedback" ], "semantics": { "kind": "update", "fields": { "door_state": { "value": "closed" }, "closure_feedback": { "value": true } } } } ] }, "mutation_committed": false, "audit_sequence": 10 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_11", "turn_id": "turn_2", "command": { "target": "parking_camera_1", "function": "set_power", "parameters": { "value": false } } }, "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": "navigation_1", "function": "set_guidance_volume", "parameters": { "volume": 51 } } }, "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": "tailgate_6", "function": "manual_open", "parameters": {} } }, "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": "session", "function": "get_space_state", "parameters": { "space_id": "driver_seat" } } }, "result": { "call_id": "call_14", "turn_id": "turn_2", "sequence": 14, "status": "success", "code": "[PASS]", "data": { "space_id": "driver_seat", "type": "driver_seat", "virtual": false, "properties": { "illuminance": 50, "seat_temperature": 26 }, "metadata": { "description": "Generated driver seat 2", "generation_index": 2, "occupants": [] } }, "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": "rear_center_seat" } } }, "result": { "call_id": "call_15", "turn_id": "turn_2", "sequence": 15, "status": "success", "code": "[PASS]", "data": { "space_id": "rear_center_seat", "type": "passenger_seat", "virtual": false, "properties": { "illuminance": 200, "seat_temperature": 31 }, "metadata": { "description": "Generated passenger seat 5", "generation_index": 5, "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": "rear_right_seat" } } }, "result": { "call_id": "call_16", "turn_id": "turn_2", "sequence": 16, "status": "success", "code": "[PASS]", "data": { "space_id": "rear_right_seat", "type": "passenger_seat", "virtual": false, "properties": { "illuminance": 500, "seat_temperature": 17 }, "metadata": { "description": "Generated passenger seat 6", "generation_index": 6, "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": "rear_left_seat" } } }, "result": { "call_id": "call_17", "turn_id": "turn_2", "sequence": 17, "status": "success", "code": "[PASS]", "data": { "space_id": "rear_left_seat", "type": "passenger_seat", "virtual": false, "properties": { "illuminance": 0, "seat_temperature": 20 }, "metadata": { "description": "Generated passenger seat 4", "generation_index": 4, "occupants": [] } }, "mutation_committed": false, "audit_sequence": 18 } }, { "kind": "tool_exchange", "call": { "call_id": "call_18", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": 2 } } }, "result": { "call_id": "call_18", "turn_id": "turn_2", "sequence": 18, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 0 }, "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": "cabin" } } }, "result": { "call_id": "call_19", "turn_id": "turn_2", "sequence": 19, "status": "success", "code": "[PASS]", "data": { "space_id": "cabin", "type": "cabin", "virtual": false, "properties": { "temperature": 19, "illuminance": 500, "noise": 80, "audio_level": 40 }, "metadata": { "description": "Generated cabin 1", "generation_index": 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": "multimedia" } } }, "result": { "call_id": "call_20", "turn_id": "turn_2", "sequence": 20, "status": "success", "code": "[PASS]", "data": { "space_id": "multimedia", "type": "multimedia", "virtual": true, "properties": { "audio_level": 60 }, "metadata": { "description": "Generated multimedia 12", "generation_index": 12, "occupants": [] } }, "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": [ "cabin", "multimedia" ] } } }, "result": { "call_id": "call_21", "turn_id": "turn_2", "sequence": 21, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 1 }, "mutation_committed": false, "audit_sequence": 22 } }, { "kind": "tool_exchange", "call": { "call_id": "call_22", "turn_id": "turn_2", "command": { "target": "car_display_1", "function": "set_layout", "parameters": { "value": "split" } } }, "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": "infotainment_1", "function": "set_source", "parameters": { "source": "mp3" } } }, "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": "ambient_light_1", "function": "set_brightness", "parameters": { "value": 20 } } }, "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": "electrified_drive_settings_1", "function": "select_drive_mode", "parameters": { "mode": "standard" } } }, "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": "sunroof_5", "function": "set_position", "parameters": { "value": 1 } } }, "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": "sunroof_5", "function": "set_sunshade_position", "parameters": { "value": 1 } } }, "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": "external_power_supply_1", "function": "set_reserve_percent", "parameters": { "value": 21 } } }, "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": "driver_assistance_1", "function": "set_automatic_following_enabled", "parameters": { "value": false } } }, "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": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_30", "turn_id": "turn_2", "sequence": 30, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 31 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }