{ "trajectory_id": "task_12ba08c4_reference", "world_id": "task_12ba08c4", "task_id": "task_12ba08c4", "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": "connectivity_1" } } }, "result": { "call_id": "call_1", "turn_id": "turn_1", "sequence": 1, "status": "success", "code": "[PASS]", "data": { "device_id": "connectivity_1", "tools": [ { "function": "get_sim_slot_count", "description": "Return the fixed number of cellular SIM slots supported by this simulated phone.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "sim_slot_count" ], "writes": [], "semantics": { "kind": "read", "property": "sim_slot_count", "response_key": "sim_slot_count", "preconditions": {} } }, { "function": "get_sim_state", "description": "Return whether the cellular-data SIM is absent, invalid, or ready without changing its state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "sim_state" ], "writes": [], "semantics": { "kind": "read", "property": "sim_state", "response_key": "sim_state", "preconditions": {} } }, { "function": "get_service_state", "description": "Return the current cellular service feedback as unavailable, home, or roaming. This does not change roaming permission.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "service_state" ], "writes": [], "semantics": { "kind": "read", "property": "service_state", "response_key": "service_state", "preconditions": {} } }, { "function": "get_mobile_data_enabled", "description": "Return whether cellular mobile data is enabled as a user setting. The result does not by itself assert that a cellular link or internet access is available.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "mobile_data_enabled" ], "writes": [], "semantics": { "kind": "read", "property": "mobile_data_enabled", "response_key": "mobile_data_enabled", "preconditions": {} } }, { "function": "set_mobile_data_enabled", "description": "Enable or disable the mobile-data setting. Disabling immediately makes an existing cellular link ineligible and clears cellular-derived upstream and internet feedback while preserving any Wi-Fi upstream. Enabling does not manufacture a connection; full derived feedback is recomputed when network dependencies are evaluated. Invalid input is rejected and leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "Desired mobile-data enabled setting.", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "sim_state", "service_state", "mobile_data_enabled", "data_roaming_enabled", "signal_strength_percent", "upstream_network" ], "writes": [ "mobile_data_enabled", "cellular_link_state", "upstream_network", "internet_available" ], "semantics": { "kind": "set", "property": "mobile_data_enabled", "parameter": "value", "preconditions": {} } }, { "function": "get_data_roaming_enabled", "description": "Return whether cellular data use is permitted while roaming. This permission is independent of the current service state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "data_roaming_enabled" ], "writes": [], "semantics": { "kind": "read", "property": "data_roaming_enabled", "response_key": "data_roaming_enabled", "preconditions": {} } }, { "function": "set_data_roaming_enabled", "description": "Permit or deny cellular data use while roaming. If service is currently roaming, denying permission immediately disconnects an existing cellular link and clears cellular-derived upstream and internet feedback while preserving any Wi-Fi upstream. This setting does not make the phone enter or leave roaming service. Invalid input is rejected and leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "Whether cellular data should be permitted while roaming.", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "sim_state", "service_state", "mobile_data_enabled", "data_roaming_enabled", "signal_strength_percent", "upstream_network" ], "writes": [ "data_roaming_enabled", "cellular_link_state", "upstream_network", "internet_available" ], "semantics": { "kind": "set", "property": "data_roaming_enabled", "parameter": "value", "preconditions": {} } }, { "function": "get_signal_strength_percent", "description": "Return the current normalized cellular signal-strength feedback from 0 through 100 percent without changing connectivity.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "signal_strength_percent" ], "writes": [], "semantics": { "kind": "read", "property": "signal_strength_percent", "response_key": "signal_strength_percent", "preconditions": {} } }, { "function": "get_cellular_link_state", "description": "Return the current read-only cellular data link state. This feedback is distinct from the mobile-data switch.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "cellular_link_state" ], "writes": [], "semantics": { "kind": "read", "property": "cellular_link_state", "response_key": "cellular_link_state", "preconditions": {} } }, { "function": "get_upstream_network", "description": "Return the phone's current aggregated upstream selection as none, cellular, or wifi. This query does not modify Wi-Fi or cellular state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "upstream_network" ], "writes": [], "semantics": { "kind": "read", "property": "upstream_network", "response_key": "upstream_network", "preconditions": {} } }, { "function": "get_internet_available", "description": "Return whether internet access is currently available through the deterministically selected upstream network.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "internet_available" ], "writes": [], "semantics": { "kind": "read", "property": "internet_available", "response_key": "internet_available", "preconditions": {} } } ] }, "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": "location_1" } } }, "result": { "call_id": "call_2", "turn_id": "turn_1", "sequence": 2, "status": "success", "code": "[PASS]", "data": { "device_id": "location_1", "tools": [ { "function": "get_enabled", "description": "Return whether the system-wide location switch is enabled without changing any state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "enabled" ], "writes": [], "semantics": { "kind": "read", "property": "enabled", "response_key": "enabled", "preconditions": {} } }, { "function": "set_enabled", "description": "Enable or disable the system-wide location switch. Disabling immediately prevents new location acquisitions but retains the last successful sample as historical feedback. Enabling does not grant permissions or make an unavailable source available.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "The desired system-wide location switch state.", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "enabled" ], "semantics": { "kind": "set", "property": "enabled", "parameter": "value", "preconditions": {} } }, { "function": "get_source_available", "description": "Return whether the deterministic synthetic location source is currently available.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "source_available" ], "writes": [], "semantics": { "kind": "read", "property": "source_available", "response_key": "source_available", "preconditions": {} } }, { "function": "get_application_location_access", "description": "Return the referenced location authorization and running-state record for an existing application ID. This operation does not modify permissions; Privacy remains authoritative for authorization.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "application_id": { "type": "string", "description": "An existing application ID in application_access.", "pattern": "^[A-Za-z0-9_.-]+$", "maxLength": 128, "examples": [ "maps", "fitness" ] } }, "required": [ "application_id" ], "additionalProperties": false }, "reads": [ "application_access" ], "writes": [], "semantics": { "kind": "collection_read", "property": "application_access", "id_parameter": "application_id", "response_key": "application_location_access", "preconditions": { "application_access": { "contains_key": { "parameter": "application_id" } } } } }, { "function": "get_effective_location_availability", "description": "Determine effective location availability for an existing application without acquiring a sample. Availability is true only when the system switch is enabled, the source is available, and the application is running in an authorized state: foreground requires foreground authorization, background requires background authorization, and stopped is never available. Precision authorization affects result accuracy but not basic availability.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "application_id": { "type": "string", "description": "An existing application ID in application_access.", "pattern": "^[A-Za-z0-9_.-]+$", "maxLength": 128, "examples": [ "maps", "fitness" ] } }, "required": [ "application_id" ], "additionalProperties": false }, "reads": [ "enabled", "source_available", "application_access" ], "writes": [], "semantics": { "kind": "custom", "reason": "Effective availability depends on fields within the selected application record and cannot be represented as a literal property precondition.", "preconditions": { "application_access": { "contains_key": { "parameter": "application_id" } } } } }, { "function": "get_last_location", "description": "Return the last successful synthetic location sample. Before the first success, has_sample is false and the position, accuracy, and sample time fields are null.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "last_location" ], "writes": [], "semantics": { "kind": "read", "property": "last_location", "response_key": "last_location", "preconditions": {} } }, { "function": "request_current_location", "description": "Request a current deterministic synthetic location for an existing application. The request succeeds only when the system switch is enabled, the source is available, and the application's running state has the required referenced authorization. A foreground application requires foreground authorization; a background application requires background authorization; a stopped application is rejected. Precise authorization produces latitude 35.1234, longitude -120.5678, and 10-meter accuracy. Otherwise a permitted request produces latitude 35.12, longitude -120.57, and 1000-meter accuracy. A successful request records the current elapsed simulation minute. Any failure leaves last_location unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "application_id": { "type": "string", "description": "An existing application ID requesting location.", "pattern": "^[A-Za-z0-9_.-]+$", "maxLength": 128, "examples": [ "maps", "fitness" ] } }, "required": [ "application_id" ], "additionalProperties": false }, "reads": [ "enabled", "source_available", "application_access" ], "writes": [ "last_location" ], "semantics": { "kind": "custom", "reason": "Acquisition conditionally validates fields in the selected application record and records deterministic position feedback with the current elapsed simulation minute.", "preconditions": { "application_access": { "contains_key": { "parameter": "application_id" } } } } } ] }, "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": "system_1" } } }, "result": { "call_id": "call_3", "turn_id": "turn_1", "sequence": 3, "status": "success", "code": "[PASS]", "data": { "device_id": "system_1", "tools": [ { "function": "get_airplane_mode", "description": "Return whether airplane mode is currently requested without changing system or module state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "airplane_mode" ], "writes": [], "semantics": { "kind": "read", "property": "airplane_mode", "response_key": "airplane_mode", "preconditions": {} } }, { "function": "set_airplane_mode", "description": "Set whether airplane mode is requested. Wireless modules respond separately through explicit dependencies. Invalid input is rejected and leaves the setting unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "The requested airplane mode state.", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "airplane_mode" ], "semantics": { "kind": "set", "property": "airplane_mode", "parameter": "value", "preconditions": {} } } ] }, "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": "system_settings_1" } } }, "result": { "call_id": "call_4", "turn_id": "turn_1", "sequence": 4, "status": "success", "code": "[PASS]", "data": { "device_id": "system_settings_1", "tools": [ { "function": "get_available_language", "description": "Return the read-only configuration record for an available language. An unknown language identifier is rejected without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "language": { "type": "string", "pattern": "^[A-Za-z]{2,3}-[A-Za-z]{2}$", "maxLength": 16, "examples": [ "en-US", "es-ES", "zh-CN" ] } }, "required": [ "language" ], "additionalProperties": false }, "reads": [ "available_languages" ], "writes": [], "semantics": { "kind": "collection_read", "property": "available_languages", "id_parameter": "language", "response_key": "language" } }, { "function": "get_system_language", "description": "Return the current system language identifier without changing any preference.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "system_language" ], "writes": [], "semantics": { "kind": "read", "property": "system_language", "response_key": "system_language", "preconditions": {} } }, { "function": "set_system_language", "description": "Set the system language to an identifier in available_languages. Applications whose language preference is system follow the new value without rewriting their records. Unsupported identifiers are rejected and leave all preferences unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "language": { "type": "string", "enum": [ "en-US", "es-ES", "zh-CN" ], "examples": [ "en-US", "es-ES", "zh-CN" ] } }, "required": [ "language" ], "additionalProperties": false }, "reads": [ "available_languages" ], "writes": [ "system_language" ], "semantics": { "kind": "set", "property": "system_language", "parameter": "language", "preconditions": { "available_languages": { "contains_key": { "parameter": "language" } } } } }, { "function": "get_application_supported_languages", "description": "Return the read-only supported-language record for a specified application. An unknown application ID is rejected without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "application_id": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 64, "examples": [ "browser", "maps" ] } }, "required": [ "application_id" ], "additionalProperties": false }, "reads": [ "application_supported_languages" ], "writes": [], "semantics": { "kind": "collection_read", "property": "application_supported_languages", "id_parameter": "application_id", "response_key": "supported_languages" } }, { "function": "get_application_language", "description": "Return the language preference record for a specified application. A stored value of system means the application follows system_language.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "application_id": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 64, "examples": [ "browser", "maps" ] } }, "required": [ "application_id" ], "additionalProperties": false }, "reads": [ "application_languages" ], "writes": [], "semantics": { "kind": "collection_read", "property": "application_languages", "id_parameter": "application_id", "response_key": "application_language" } }, { "function": "set_application_language", "description": "Set one existing application's language preference while preserving every other application record. The value system makes the application follow system_language. Any explicit language must appear in that application's application_supported_languages record. Unknown applications or unsupported explicit languages are rejected before any state change.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "application_id": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 64, "examples": [ "browser", "maps" ] }, "language": { "type": "string", "enum": [ "system", "en-US", "es-ES", "zh-CN" ], "examples": [ "system", "en-US", "es-ES" ] } }, "required": [ "application_id", "language" ], "additionalProperties": false }, "reads": [ "application_supported_languages", "application_languages" ], "writes": [ "application_languages" ], "semantics": { "kind": "collection_update", "property": "application_languages", "id_parameter": "application_id", "fields": { "language": { "parameter": "language" } }, "preconditions": { "application_languages": { "contains_key": { "parameter": "application_id" } } } } }, { "function": "get_automatic_time", "description": "Return whether phone date and time are synchronized to the local simulated time source.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "automatic_time" ], "writes": [], "semantics": { "kind": "read", "property": "automatic_time", "response_key": "automatic_time", "preconditions": {} } }, { "function": "set_automatic_time", "description": "Enable or disable automatic date and time synchronization. Enabling uses the local simulated time source and resets wall_clock_offset_minutes to zero. Disabling preserves the current offset. No network access occurs, and the world monotonic clock is never changed.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "enabled": { "type": "boolean", "examples": [ true, false ] } }, "required": [ "enabled" ], "additionalProperties": false }, "reads": [], "writes": [ "automatic_time", "wall_clock_offset_minutes" ], "semantics": { "kind": "set", "property": "automatic_time", "parameter": "enabled", "preconditions": {} } }, { "function": "get_wall_clock_offset_minutes", "description": "Return the phone wall-clock adjustment in whole minutes relative to the local simulated time source. This value does not affect monotonic Timer or Stopwatch progress.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "wall_clock_offset_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "wall_clock_offset_minutes", "response_key": "wall_clock_offset_minutes", "preconditions": {} } }, { "function": "set_manual_datetime", "description": "Set the phone's manual date and time as a whole-minute offset from the local simulated time source. The offset must be between -525600 and 525600 minutes, and automatic_time must be disabled. Invalid input or an enabled automatic-time setting leaves all state unchanged. This operation never modifies the world monotonic clock.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "wall_clock_offset_minutes": { "type": "integer", "minimum": -525600, "maximum": 525600, "multipleOf": 1, "examples": [ -60, 0, 120, 1440 ] } }, "required": [ "wall_clock_offset_minutes" ], "additionalProperties": false }, "reads": [ "automatic_time" ], "writes": [ "wall_clock_offset_minutes" ], "semantics": { "kind": "set", "property": "wall_clock_offset_minutes", "parameter": "wall_clock_offset_minutes", "preconditions": { "automatic_time": false } } }, { "function": "get_automatic_time_zone", "description": "Return whether the phone time zone follows the local simulated time-zone source.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "automatic_time_zone" ], "writes": [], "semantics": { "kind": "read", "property": "automatic_time_zone", "response_key": "automatic_time_zone", "preconditions": {} } }, { "function": "set_automatic_time_zone", "description": "Enable or disable automatic time-zone selection. Enabling selects UTC from the deterministic local simulated source. Disabling preserves the current time zone. No network access occurs.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "enabled": { "type": "boolean", "examples": [ true, false ] } }, "required": [ "enabled" ], "additionalProperties": false }, "reads": [], "writes": [ "automatic_time_zone", "time_zone" ], "semantics": { "kind": "set", "property": "automatic_time_zone", "parameter": "enabled", "preconditions": {} } }, { "function": "get_time_zone", "description": "Return the phone time-zone identifier without changing its wall clock or monotonic time.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "time_zone" ], "writes": [], "semantics": { "kind": "read", "property": "time_zone", "response_key": "time_zone", "preconditions": {} } }, { "function": "set_manual_time_zone", "description": "Set the phone time zone to one of UTC, America/New_York, Europe/Madrid, or Asia/Shanghai. Automatic time-zone selection must be disabled. Invalid identifiers or an enabled automatic-time-zone setting leave all state unchanged. The change affects wall-clock interpretation only and never changes monotonic time.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "time_zone": { "type": "string", "enum": [ "UTC", "America/New_York", "Europe/Madrid", "Asia/Shanghai" ], "examples": [ "UTC", "America/New_York", "Europe/Madrid", "Asia/Shanghai" ] } }, "required": [ "time_zone" ], "additionalProperties": false }, "reads": [ "automatic_time_zone" ], "writes": [ "time_zone" ], "semantics": { "kind": "set", "property": "time_zone", "parameter": "time_zone", "preconditions": { "automatic_time_zone": false } } }, { "function": "get_role_candidates", "description": "Return the read-only eligible application candidates for a specified default role. An unknown role ID is rejected without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "role_id": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 64, "examples": [ "browser", "maps" ] } }, "required": [ "role_id" ], "additionalProperties": false }, "reads": [ "role_candidates" ], "writes": [], "semantics": { "kind": "collection_read", "property": "role_candidates", "id_parameter": "role_id", "response_key": "role_candidates" } }, { "function": "get_default_application_role", "description": "Return the current default application record for a specified role. An unknown role ID is rejected without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "role_id": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 64, "examples": [ "browser", "maps" ] } }, "required": [ "role_id" ], "additionalProperties": false }, "reads": [ "default_application_roles" ], "writes": [], "semantics": { "kind": "collection_read", "property": "default_application_roles", "id_parameter": "role_id", "response_key": "default_application_role" } }, { "function": "change_default_application_role", "description": "Resolve a simulated request to change one default application role. The role must exist and application_id must be listed in that role's read-only candidate record. When user_confirmed is true, only that role's application_id is changed and all other role records are preserved. When user_confirmed is false, the request is treated as denied and the original role setting is preserved. Invalid role or candidate input is rejected before any state change.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "role_id": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 64, "examples": [ "browser", "maps" ] }, "application_id": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 64, "examples": [ "browser_beta", "maps_offline" ] }, "user_confirmed": { "type": "boolean", "description": "The deterministic result of simulated user confirmation.", "examples": [ true, false ] } }, "required": [ "role_id", "application_id", "user_confirmed" ], "additionalProperties": false }, "reads": [ "role_candidates", "default_application_roles" ], "writes": [ "default_application_roles" ], "semantics": { "kind": "custom", "reason": "The operation conditionally updates one collection record only after validating a candidate in a separate nested configuration record and resolving simulated user confirmation; denial must succeed without changing the collection." } } ] }, "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": "wi_fi_1" } } }, "result": { "call_id": "call_5", "turn_id": "turn_1", "sequence": 5, "status": "success", "code": "[PASS]", "data": { "device_id": "wi_fi_1", "tools": [ { "function": "get_enabled", "description": "Return whether Wi-Fi is currently enabled without changing any state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "enabled" ], "writes": [], "semantics": { "kind": "read", "property": "enabled", "response_key": "enabled", "preconditions": {} } }, { "function": "set_enabled", "description": "Enable or disable Wi-Fi. Disabling immediately sets connected_network_id to an empty string while preserving every saved network. Enabling preserves saved networks and does not automatically reconnect. Invalid arguments leave all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "enabled": { "type": "boolean", "description": "The desired Wi-Fi enabled state.", "examples": [ true, false ] } }, "required": [ "enabled" ], "additionalProperties": false }, "reads": [], "writes": [ "enabled", "connected_network_id" ], "semantics": { "kind": "set", "property": "enabled", "parameter": "enabled", "preconditions": {} } }, { "function": "get_saved_networks", "description": "Return all saved network records keyed by their stable network IDs without changing any state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "saved_networks" ], "writes": [], "semantics": { "kind": "read", "property": "saved_networks", "response_key": "saved_networks", "preconditions": {} } }, { "function": "get_connected_network_id", "description": "Return the ID of the currently connected saved network, or an empty string when Wi-Fi is disconnected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "connected_network_id" ], "writes": [], "semantics": { "kind": "read", "property": "connected_network_id", "response_key": "connected_network_id", "preconditions": {} } }, { "function": "connect", "description": "Connect to a saved network by ID. Wi-Fi must be enabled and network_id must identify an existing record in saved_networks. A successful call replaces any current connection with the selected network. No real network access or internet availability is implied. Invalid input or an unmet precondition leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "network_id": { "type": "string", "description": "The stable ID of an existing saved network.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "Home", "Office" ] } }, "required": [ "network_id" ], "additionalProperties": false }, "reads": [ "enabled", "saved_networks" ], "writes": [ "connected_network_id" ], "semantics": { "kind": "update", "fields": { "connected_network_id": { "parameter": "network_id" } }, "preconditions": { "enabled": true, "saved_networks": { "contains_key": { "parameter": "network_id" } } } } }, { "function": "disconnect", "description": "Disconnect Wi-Fi by setting connected_network_id to an empty string. Saved networks and the enabled setting are preserved. The operation is idempotent when already disconnected.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [], "writes": [ "connected_network_id" ], "semantics": { "kind": "update", "fields": { "connected_network_id": { "value": "" } }, "preconditions": {} } }, { "function": "forget_network", "description": "Forget an existing saved network by ID. Only the selected record is removed and all unrelated records are preserved. If the forgotten network is currently connected, connected_network_id is immediately cleared; otherwise the current connection is preserved. An unknown ID or invalid input leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "network_id": { "type": "string", "description": "The stable ID of the saved network to forget.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "Home", "Office" ] } }, "required": [ "network_id" ], "additionalProperties": false }, "reads": [ "saved_networks", "connected_network_id" ], "writes": [ "saved_networks", "connected_network_id" ], "semantics": { "kind": "collection_delete", "property": "saved_networks", "id_parameter": "network_id", "preconditions": { "saved_networks": { "contains_key": { "parameter": "network_id" } } } } } ] }, "mutation_committed": false, "audit_sequence": 5 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_6", "turn_id": "turn_2", "command": { "target": "connectivity_1", "function": "set_mobile_data_enabled", "parameters": { "value": true } } }, "result": { "call_id": "call_6", "turn_id": "turn_2", "sequence": 6, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 7 } }, { "kind": "tool_exchange", "call": { "call_id": "call_7", "turn_id": "turn_2", "command": { "target": "system_settings_1", "function": "set_application_language", "parameters": { "application_id": "maps", "language": "en-US" } } }, "result": { "call_id": "call_7", "turn_id": "turn_2", "sequence": 7, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 8 } }, { "kind": "tool_exchange", "call": { "call_id": "call_8", "turn_id": "turn_2", "command": { "target": "wi_fi_1", "function": "set_enabled", "parameters": { "enabled": 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": "location_1", "function": "set_enabled", "parameters": { "value": false } } }, "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": "system_1", "function": "get_airplane_mode", "parameters": {} } }, "result": { "call_id": "call_10", "turn_id": "turn_2", "sequence": 10, "status": "success", "code": "[PASS]", "data": { "airplane_mode": false }, "mutation_committed": false, "audit_sequence": 11 } }, { "kind": "tool_exchange", "call": { "call_id": "call_11", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": false } } }, "result": { "call_id": "call_11", "turn_id": "turn_2", "sequence": 11, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 0 }, "mutation_committed": false, "audit_sequence": 12 } }, { "kind": "tool_exchange", "call": { "call_id": "call_12", "turn_id": "turn_2", "command": { "target": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_12", "turn_id": "turn_2", "sequence": 12, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 13 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }