{ "trajectory_id": "task_0ebc6ae8_reference", "world_id": "task_0ebc6ae8", "task_id": "task_0ebc6ae8", "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": "accessibility_1" } } }, "result": { "call_id": "call_1", "turn_id": "turn_1", "sequence": 1, "status": "success", "code": "[PASS]", "data": { "device_id": "accessibility_1", "tools": [ { "function": "get_font_scale_level", "description": "Return the selected normalized font scale level without changing any accessibility setting.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "font_scale_level" ], "writes": [], "semantics": { "kind": "read", "property": "font_scale_level", "response_key": "font_scale_level", "preconditions": {} } }, { "function": "set_font_scale_level", "description": "Select an existing normalized font level. The level must be a key in the read-only font_levels catalog. Its synthetic normalized percentage is mapped to the nearest level supported by the simulated platform and is not treated as a native cross-platform increment. Invalid level IDs leave the selection unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "level": { "type": "string", "enum": [ "small", "default", "large", "extra_large" ], "examples": [ "default", "large" ] } }, "required": [ "level" ], "additionalProperties": false }, "reads": [ "font_levels" ], "writes": [ "font_scale_level" ], "semantics": { "kind": "set", "property": "font_scale_level", "parameter": "level", "preconditions": { "font_levels": { "contains_key": { "parameter": "level" } } } } }, { "function": "get_font_levels", "description": "Return the read-only normalized font-level catalog and its nearest-supported-platform mapping policy.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "font_levels" ], "writes": [], "semantics": { "kind": "read", "property": "font_levels", "response_key": "font_levels", "preconditions": {} } }, { "function": "get_captions_enabled", "description": "Return whether the system caption preference is enabled. This reports the preference, not whether particular content supplies captions.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "captions_enabled" ], "writes": [], "semantics": { "kind": "read", "property": "captions_enabled", "response_key": "captions_enabled", "preconditions": {} } }, { "function": "set_captions_enabled", "description": "Enable or disable the system caption preference. This does not create captions for content that does not provide them.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "captions_enabled" ], "semantics": { "kind": "set", "property": "captions_enabled", "parameter": "value", "preconditions": {} } }, { "function": "get_reduced_motion", "description": "Return whether reduced motion is preferred without changing the preference.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "reduced_motion" ], "writes": [], "semantics": { "kind": "read", "property": "reduced_motion", "response_key": "reduced_motion", "preconditions": {} } }, { "function": "set_reduced_motion", "description": "Enable or disable the reduced-motion preference. The setting expresses a preference and does not guarantee that every application suppresses all animation.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "reduced_motion" ], "semantics": { "kind": "set", "property": "reduced_motion", "parameter": "value", "preconditions": {} } }, { "function": "get_installed_services", "description": "Return all installed synthetic assistive services and their read-only capabilities. Reading this catalog does not grant an ordinary application permission to enable a service.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "installed_services" ], "writes": [], "semantics": { "kind": "read", "property": "installed_services", "response_key": "installed_services", "preconditions": {} } }, { "function": "get_enabled_services", "description": "Return all currently enabled assistive services. Each returned dictionary value is exactly {\"enabled\": true}; service names and capabilities are available separately from installed_services. This is a system-settings simulation query and does not imply that an ordinary application can change the returned state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "enabled_services" ], "writes": [], "semantics": { "kind": "read", "property": "enabled_services", "response_key": "enabled_services", "preconditions": {} } }, { "function": "get_screen_reading_available", "description": "Return whether an enabled assistive service currently declares screen-reading capability. A true result does not guarantee that every application or item of content is readable.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "screen_reading_available" ], "writes": [], "semantics": { "kind": "read", "property": "screen_reading_available", "response_key": "screen_reading_available", "preconditions": {} } }, { "function": "request_service_state", "description": "Request activation or deactivation of an installed assistive service through a resolved simulated authorization decision. The service ID must be a key in installed_services. If authorization_granted is false, enabled_services and screen_reading_available remain unchanged. If authorization is granted and activate is true, the operation inserts or retains enabled_services[service_id] with the exact value {\"enabled\": true}; no installed-service fields are copied into that record. If authorization is granted and activate is false, the operation removes service_id from enabled_services. Activation and deactivation are idempotent when the service is already in the requested state. After an authorized request, screen_reading_available is recomputed as true exactly when at least one remaining enabled-service key identifies an installed service whose capabilities list contains screen_reading; otherwise it is false. Invalid input or an unknown service ID causes no mutation. This unified system-settings simulation does not represent a generally available ordinary-application API.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "service_id": { "type": "string", "description": "Stable ID of an installed assistive service.", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 128, "examples": [ "screen_reader", "switch_access" ] }, "activate": { "type": "boolean", "description": "True to request activation or false to request deactivation.", "examples": [ true, false ] }, "authorization_granted": { "type": "boolean", "description": "Resolved simulated authorization result. False represents denial and guarantees that service activation state remains unchanged.", "examples": [ true, false ] } }, "required": [ "service_id", "activate", "authorization_granted" ], "additionalProperties": false }, "reads": [ "installed_services", "enabled_services", "screen_reading_available" ], "writes": [ "enabled_services", "screen_reading_available" ], "semantics": { "kind": "custom", "preconditions": { "installed_services": { "contains_key": { "parameter": "service_id" } } }, "reason": "The operation conditionally performs no mutation when simulated authorization is denied; when approved, it either inserts the exact fixed record {\"enabled\": true} under a keyed enabled-service entry or removes that entry, then recomputes a derived capability across all enabled service IDs." } } ] }, "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": "battery_1" } } }, "result": { "call_id": "call_2", "turn_id": "turn_1", "sequence": 2, "status": "success", "code": "[PASS]", "data": { "device_id": "battery_1", "tools": [ { "function": "get_battery_percent", "description": "Return the current read-only battery percentage without changing battery feedback or settings.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "battery_percent" ], "writes": [], "semantics": { "kind": "read", "property": "battery_percent", "response_key": "battery_percent", "preconditions": {} } }, { "function": "get_charging_state", "description": "Return the current read-only charging result without changing any battery state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "charging_state" ], "writes": [], "semantics": { "kind": "read", "property": "charging_state", "response_key": "charging_state", "preconditions": {} } }, { "function": "get_external_power_connected", "description": "Return whether an external power supply is currently connected. This read-only feedback cannot be changed with Battery tools.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "external_power_connected" ], "writes": [], "semantics": { "kind": "read", "property": "external_power_connected", "response_key": "external_power_connected", "preconditions": {} } }, { "function": "get_battery_temperature_celsius", "description": "Return the current read-only simulated battery temperature in degrees Celsius without changing it.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "battery_temperature_celsius" ], "writes": [], "semantics": { "kind": "read", "property": "battery_temperature_celsius", "response_key": "battery_temperature_celsius", "preconditions": {} } }, { "function": "get_power_saving_mode", "description": "Return whether power-saving mode is requested. This may differ from its effective state while external power is connected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power_saving_mode" ], "writes": [], "semantics": { "kind": "read", "property": "power_saving_mode", "response_key": "power_saving_mode", "preconditions": {} } }, { "function": "set_power_saving_mode", "description": "Enable or disable the power-saving request. The request is accepted on or off external power, but it is effective only while external power is disconnected. After the request changes, the effective state is recomputed from the request and external power condition. This operation does not immediately change battery percentage, temperature, or charging state. Invalid input is rejected and leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "Desired power-saving request.", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "external_power_connected", "power_saving_mode" ], "writes": [ "power_saving_mode", "power_saving_effective" ], "semantics": { "kind": "set", "property": "power_saving_mode", "parameter": "value", "preconditions": {} } }, { "function": "get_power_saving_effective", "description": "Return whether power-saving mode is currently effective under the fixed supply policy. It is effective exactly when requested and external power is disconnected.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "power_saving_effective" ], "writes": [], "semantics": { "kind": "read", "property": "power_saving_effective", "response_key": "power_saving_effective", "preconditions": {} } } ] }, "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": "rotation_1" } } }, "result": { "call_id": "call_3", "turn_id": "turn_1", "sequence": 3, "status": "success", "code": "[PASS]", "data": { "device_id": "rotation_1", "tools": [ { "function": "get_auto_rotate", "description": "Return whether automatic screen rotation is enabled without changing any setting or feedback.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "auto_rotate" ], "writes": [], "semantics": { "kind": "read", "property": "auto_rotate", "response_key": "auto_rotate", "preconditions": {} } }, { "function": "set_auto_rotate", "description": "Enable or disable automatic screen rotation. The existing orientation lock preference is preserved. This operation does not directly write actual_orientation because foreground application restrictions and external orientation feedback determine when the displayed orientation is resolved.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "The desired automatic rotation state.", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "auto_rotate" ], "semantics": { "kind": "set", "property": "auto_rotate", "parameter": "value", "preconditions": {} } }, { "function": "get_orientation_lock", "description": "Return the preferred orientation lock. The preference is retained while automatic rotation is enabled but is used only when automatic rotation is disabled and the foreground application does not impose an orientation restriction.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "orientation_lock" ], "writes": [], "semantics": { "kind": "read", "property": "orientation_lock", "response_key": "orientation_lock", "preconditions": {} } }, { "function": "set_orientation_lock", "description": "Select a supported orientation lock while automatic rotation is disabled. orientation must be an existing key in lockable_orientations. If automatic rotation is enabled or the orientation is unsupported, the operation fails and leaves all state unchanged. A successful preference change does not directly write actual_orientation because a foreground application restriction may prevent an immediate orientation change.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "orientation": { "type": "string", "description": "An orientation ID from lockable_orientations.", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 32, "examples": [ "portrait", "landscape" ] } }, "required": [ "orientation" ], "additionalProperties": false }, "reads": [ "auto_rotate", "lockable_orientations" ], "writes": [ "orientation_lock" ], "semantics": { "kind": "set", "property": "orientation_lock", "parameter": "orientation", "preconditions": { "auto_rotate": false, "lockable_orientations": { "contains_key": { "parameter": "orientation" } } } } }, { "function": "get_lockable_orientations", "description": "Return the fixed read-only dictionary of supported orientation-lock capabilities and their IDs.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "lockable_orientations" ], "writes": [], "semantics": { "kind": "read", "property": "lockable_orientations", "response_key": "lockable_orientations", "preconditions": {} } }, { "function": "get_actual_orientation", "description": "Return the read-only current screen orientation. A foreground application restriction to portrait or landscape takes precedence. Without such a restriction, the value follows simulated device pose when automatic rotation is enabled and the selected lock preference when automatic rotation is disabled. This query does not change feedback.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "actual_orientation" ], "writes": [], "semantics": { "kind": "read", "property": "actual_orientation", "response_key": "actual_orientation", "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": "sound_1" } } }, "result": { "call_id": "call_4", "turn_id": "turn_1", "sequence": 4, "status": "success", "code": "[PASS]", "data": { "device_id": "sound_1", "tools": [ { "function": "get_media_volume", "description": "Return the independent media volume percentage.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "media_volume" ], "writes": [], "semantics": { "kind": "read", "property": "media_volume", "response_key": "media_volume", "preconditions": {} } }, { "function": "set_media_volume", "description": "Set media volume to a whole percentage from 0 through 100. No other volume stream changes. Invalid values leave all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "examples": [ 0, 50, 100 ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "media_volume" ], "semantics": { "kind": "set", "property": "media_volume", "parameter": "value", "preconditions": {} } }, { "function": "get_ringtone_volume", "description": "Return the independent ringtone volume percentage.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "ringtone_volume" ], "writes": [], "semantics": { "kind": "read", "property": "ringtone_volume", "response_key": "ringtone_volume", "preconditions": {} } }, { "function": "set_ringtone_volume", "description": "Set ringtone volume to a whole percentage from 0 through 100. Notification, media, and alarm volumes remain unchanged. Invalid values leave all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "examples": [ 0, 70, 100 ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "ringtone_volume" ], "semantics": { "kind": "set", "property": "ringtone_volume", "parameter": "value", "preconditions": {} } }, { "function": "get_notification_volume", "description": "Return the independent notification volume percentage.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "notification_volume" ], "writes": [], "semantics": { "kind": "read", "property": "notification_volume", "response_key": "notification_volume", "preconditions": {} } }, { "function": "set_notification_volume", "description": "Set notification volume to a whole percentage from 0 through 100. Ringtone, media, and alarm volumes remain unchanged. Invalid values leave all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "examples": [ 0, 70, 100 ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "notification_volume" ], "semantics": { "kind": "set", "property": "notification_volume", "parameter": "value", "preconditions": {} } }, { "function": "get_alarm_volume", "description": "Return the independent alarm volume percentage.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "alarm_volume" ], "writes": [], "semantics": { "kind": "read", "property": "alarm_volume", "response_key": "alarm_volume", "preconditions": {} } }, { "function": "set_alarm_volume", "description": "Set alarm volume to a whole percentage from 0 through 100. Media, ringtone, and notification volumes remain unchanged. Invalid values leave all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "examples": [ 0, 80, 100 ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "alarm_volume" ], "semantics": { "kind": "set", "property": "alarm_volume", "parameter": "value", "preconditions": {} } }, { "function": "get_ringer_mode", "description": "Return the current ringer mode without changing stored stream volumes.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "ringer_mode" ], "writes": [], "semantics": { "kind": "read", "property": "ringer_mode", "response_key": "ringer_mode", "preconditions": {} } }, { "function": "set_ringer_mode", "description": "Set ringer mode to normal, vibrate, or silent. The operation preserves all stream volumes, sound selections, and the incoming-call vibration preference. Invalid modes leave state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "normal", "vibrate", "silent" ], "examples": [ "normal", "vibrate", "silent" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "ringer_mode" ], "semantics": { "kind": "set", "property": "ringer_mode", "parameter": "value", "preconditions": {} } }, { "function": "get_incoming_call_vibration", "description": "Return the current incoming-call vibration preference.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "incoming_call_vibration" ], "writes": [], "semantics": { "kind": "read", "property": "incoming_call_vibration", "response_key": "incoming_call_vibration", "preconditions": {} } }, { "function": "set_incoming_call_vibration", "description": "Set the incoming-call vibration preference to never, vibrate_mode, or always. This does not change ringer mode or any volume. Invalid values leave state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "never", "vibrate_mode", "always" ], "examples": [ "never", "vibrate_mode", "always" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "incoming_call_vibration" ], "semantics": { "kind": "set", "property": "incoming_call_vibration", "parameter": "value", "preconditions": {} } }, { "function": "get_ringtone", "description": "Return the selected local synthetic ringtone resource.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "ringtone" ], "writes": [], "semantics": { "kind": "read", "property": "ringtone", "response_key": "ringtone", "preconditions": {} } }, { "function": "set_ringtone", "description": "Select classic_ring, digital_ring, gentle_ring, or none as the local synthetic ringtone. The operation does not change ringtone volume or ringer mode. Invalid values leave state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "classic_ring", "digital_ring", "gentle_ring", "none" ], "examples": [ "classic_ring", "gentle_ring", "none" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "ringtone" ], "semantics": { "kind": "set", "property": "ringtone", "parameter": "value", "preconditions": {} } }, { "function": "get_notification_sound", "description": "Return the selected local synthetic notification-sound resource.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "notification_sound" ], "writes": [], "semantics": { "kind": "read", "property": "notification_sound", "response_key": "notification_sound", "preconditions": {} } }, { "function": "set_notification_sound", "description": "Select chime, pop, soft_bell, or none as the local synthetic notification sound. The operation does not change notification volume. Invalid values leave state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "chime", "pop", "soft_bell", "none" ], "examples": [ "chime", "soft_bell", "none" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "notification_sound" ], "semantics": { "kind": "set", "property": "notification_sound", "parameter": "value", "preconditions": {} } }, { "function": "get_available_output", "description": "Return one currently connected, available audio-output record by route ID. Unknown or unavailable IDs are rejected without changing state.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "output_id": { "type": "string", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "speaker", "earpiece" ] } }, "required": [ "output_id" ], "additionalProperties": false }, "reads": [ "available_outputs" ], "writes": [], "semantics": { "kind": "collection_read", "property": "available_outputs", "id_parameter": "output_id", "response_key": "output", "preconditions": { "available_outputs": { "contains_key": { "parameter": "output_id" } } } } }, { "function": "get_output_route", "description": "Return the ID of the currently selected audio output route.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "output_route" ], "writes": [], "semantics": { "kind": "read", "property": "output_route", "response_key": "output_route", "preconditions": {} } }, { "function": "select_output_route", "description": "Select an output route that is present in available_outputs. This resolves routing immediately but does not connect or disconnect any Bluetooth or other external device. Unknown or unavailable IDs leave the current route unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "output_id": { "type": "string", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "speaker", "earpiece" ] } }, "required": [ "output_id" ], "additionalProperties": false }, "reads": [ "available_outputs" ], "writes": [ "output_route" ], "semantics": { "kind": "update", "fields": { "output_route": { "parameter": "output_id" } }, "preconditions": { "available_outputs": { "contains_key": { "parameter": "output_id" } } } } } ] }, "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": "system_settings_1" } } }, "result": { "call_id": "call_5", "turn_id": "turn_1", "sequence": 5, "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": 5 } }, { "kind": "tool_exchange", "call": { "call_id": "call_6", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "wi_fi_1" } } }, "result": { "call_id": "call_6", "turn_id": "turn_1", "sequence": 6, "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": 6 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_7", "turn_id": "turn_2", "command": { "target": "battery_1", "function": "set_power_saving_mode", "parameters": { "value": true } } }, "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": "system_settings_1", "function": "set_application_language", "parameters": { "application_id": "maps", "language": "en-US" } } }, "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": "wi_fi_1", "function": "forget_network", "parameters": { "network_id": "Office" } } }, "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": "sound_1", "function": "select_output_route", "parameters": { "output_id": "earpiece" } } }, "result": { "call_id": "call_10", "turn_id": "turn_2", "sequence": 10, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 11 } }, { "kind": "tool_exchange", "call": { "call_id": "call_11", "turn_id": "turn_2", "command": { "target": "accessibility_1", "function": "set_captions_enabled", "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": "rotation_1", "function": "get_actual_orientation", "parameters": {} } }, "result": { "call_id": "call_12", "turn_id": "turn_2", "sequence": 12, "status": "success", "code": "[PASS]", "data": { "actual_orientation": "portrait" }, "mutation_committed": false, "audit_sequence": 13 } }, { "kind": "tool_exchange", "call": { "call_id": "call_13", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": "portrait" } } }, "result": { "call_id": "call_13", "turn_id": "turn_2", "sequence": 13, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 0 }, "mutation_committed": false, "audit_sequence": 14 } }, { "kind": "tool_exchange", "call": { "call_id": "call_14", "turn_id": "turn_2", "command": { "target": "sound_1", "function": "set_notification_volume", "parameters": { "value": 55 } } }, "result": { "call_id": "call_14", "turn_id": "turn_2", "sequence": 14, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 15 } }, { "kind": "tool_exchange", "call": { "call_id": "call_15", "turn_id": "turn_2", "command": { "target": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_15", "turn_id": "turn_2", "sequence": 15, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 16 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }