SynthDCB / data /valid /Phone /task_25230cac /reference_trajectory.json
JamesZhutheThird's picture
Upload SynthDCB dataset
cffba29
Raw History Blame Contribute Delete
135 kB
{ "trajectory_id": "task_25230cac_reference", "world_id": "task_25230cac", "task_id": "task_25230cac", "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": "alarm_1" } } }, "result": { "call_id": "call_1", "turn_id": "turn_1", "sequence": 1, "status": "success", "code": "[PASS]", "data": { "device_id": "alarm_1", "tools": [ { "function": "add_alarm", "description": "Add an alarm with the supplied hour, minute, label, weekdays, and optional enabled state. The system generates and returns a new stable string ID without changing existing records. Hour must be 0 through 23, minute must be 0 through 59, the label must contain 1 through 80 characters, and weekdays must contain no duplicate values outside 1 through 7. An empty weekdays list represents a one-time configuration. Invalid arguments leave the collection unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "hour": { "type": "integer", "minimum": 0, "maximum": 23, "examples": [ 7, 12, 21 ] }, "minute": { "type": "integer", "minimum": 0, "maximum": 59, "examples": [ 0, 15, 45 ] }, "label": { "type": "string", "minLength": 1, "maxLength": 80, "examples": [ "Morning", "School pickup", "Medication" ] }, "weekdays": { "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "integer", "minimum": 1, "maximum": 7 }, "examples": [ [], [ 1, 2, 3, 4, 5 ], [ 6, 7 ] ] }, "enabled": { "type": "boolean", "default": false, "examples": [ true, false ] } }, "required": [ "hour", "minute", "label", "weekdays" ], "additionalProperties": false }, "reads": [ "alarms" ], "writes": [ "alarms" ], "semantics": { "kind": "collection_add", "property": "alarms", "fields": { "hour": { "parameter": "hour" }, "minute": { "parameter": "minute" }, "label": { "parameter": "label" }, "weekdays": { "parameter": "weekdays" }, "enabled": { "parameter": "enabled" } }, "response_key": "alarm_id", "preconditions": {} } }, { "function": "get_alarm", "description": "Return the complete alarm record identified by alarm_id without changing state. The operation fails if the alarm ID does not exist.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "alarm_id": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9_-]+$", "examples": [ "alarm_1", "alarm_2" ] } }, "required": [ "alarm_id" ], "additionalProperties": false }, "reads": [ "alarms" ], "writes": [], "semantics": { "kind": "collection_read", "property": "alarms", "id_parameter": "alarm_id", "response_key": "alarm", "preconditions": { "alarms": { "contains_key": { "parameter": "alarm_id" } } } } }, { "function": "update_alarm", "description": "Partially update an existing alarm. At least one of hour, minute, label, or weekdays must be supplied in addition to alarm_id. Omitted fields retain their previous values, enabled state is unchanged, and unrelated records are preserved. An empty weekdays list represents a one-time configuration. An unknown ID or any invalid supplied value leaves the collection unchanged.", "mutation": true, "parameters_schema": { "type": "object", "minProperties": 2, "properties": { "alarm_id": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9_-]+$", "examples": [ "alarm_1", "alarm_2" ] }, "hour": { "type": "integer", "minimum": 0, "maximum": 23, "examples": [ 6, 14, 22 ] }, "minute": { "type": "integer", "minimum": 0, "maximum": 59, "examples": [ 0, 30, 55 ] }, "label": { "type": "string", "minLength": 1, "maxLength": 80, "examples": [ "Early meeting", "Medication" ] }, "weekdays": { "type": "array", "minItems": 0, "uniqueItems": true, "items": { "type": "integer", "minimum": 1, "maximum": 7 }, "examples": [ [], [ 1, 3, 5 ] ] } }, "required": [ "alarm_id" ], "additionalProperties": false }, "reads": [ "alarms" ], "writes": [ "alarms" ], "semantics": { "kind": "collection_update", "property": "alarms", "id_parameter": "alarm_id", "fields": { "hour": { "parameter": "hour" }, "minute": { "parameter": "minute" }, "label": { "parameter": "label" }, "weekdays": { "parameter": "weekdays" } }, "response_key": "updated_alarm", "preconditions": { "alarms": { "contains_key": { "parameter": "alarm_id" } } } } }, { "function": "remove_alarm", "description": "Delete the alarm identified by alarm_id while preserving every unrelated alarm record. An unknown ID causes the operation to fail without changing the collection.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "alarm_id": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9_-]+$", "examples": [ "alarm_1", "alarm_2" ] } }, "required": [ "alarm_id" ], "additionalProperties": false }, "reads": [ "alarms" ], "writes": [ "alarms" ], "semantics": { "kind": "collection_delete", "property": "alarms", "id_parameter": "alarm_id", "response_key": "removed_alarm_id", "preconditions": { "alarms": { "contains_key": { "parameter": "alarm_id" } } } } }, { "function": "enable_alarm", "description": "Set enabled to true for the alarm identified by alarm_id. All other fields and unrelated records remain unchanged. An unknown ID leaves the collection unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "alarm_id": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9_-]+$", "examples": [ "alarm_1", "alarm_2" ] } }, "required": [ "alarm_id" ], "additionalProperties": false }, "reads": [ "alarms" ], "writes": [ "alarms" ], "semantics": { "kind": "collection_update", "property": "alarms", "id_parameter": "alarm_id", "fields": { "enabled": { "value": true } }, "response_key": "enabled_alarm", "preconditions": { "alarms": { "contains_key": { "parameter": "alarm_id" } } } } }, { "function": "disable_alarm", "description": "Set enabled to false for the alarm identified by alarm_id. All other fields and unrelated records remain unchanged. An unknown ID leaves the collection unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "alarm_id": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[A-Za-z0-9_-]+$", "examples": [ "alarm_1", "alarm_2" ] } }, "required": [ "alarm_id" ], "additionalProperties": false }, "reads": [ "alarms" ], "writes": [ "alarms" ], "semantics": { "kind": "collection_update", "property": "alarms", "id_parameter": "alarm_id", "fields": { "enabled": { "value": false } }, "response_key": "disabled_alarm", "preconditions": { "alarms": { "contains_key": { "parameter": "alarm_id" } } } } } ] }, "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": "display_1" } } }, "result": { "call_id": "call_2", "turn_id": "turn_1", "sequence": 2, "status": "success", "code": "[PASS]", "data": { "device_id": "display_1", "tools": [ { "function": "get_brightness", "description": "Return the configured display brightness percentage without changing any setting.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "brightness" ], "writes": [], "semantics": { "kind": "read", "property": "brightness", "response_key": "brightness", "preconditions": {} } }, { "function": "set_brightness", "description": "Set display brightness to a whole-number percentage from 0 through 100. Invalid values are rejected and leave all settings unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "examples": [ 0, 25, 50, 100 ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "brightness" ], "semantics": { "kind": "set", "property": "brightness", "parameter": "value", "preconditions": {} } }, { "function": "get_automatic_brightness", "description": "Return whether automatic brightness adjustment is enabled without changing any setting.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "automatic_brightness" ], "writes": [], "semantics": { "kind": "read", "property": "automatic_brightness", "response_key": "automatic_brightness", "preconditions": {} } }, { "function": "set_automatic_brightness", "description": "Enable or disable automatic brightness adjustment. This changes only the automatic brightness setting.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "automatic_brightness" ], "semantics": { "kind": "set", "property": "automatic_brightness", "parameter": "value", "preconditions": {} } }, { "function": "get_dark_mode", "description": "Return whether dark mode is enabled without changing any setting.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "dark_mode" ], "writes": [], "semantics": { "kind": "read", "property": "dark_mode", "response_key": "dark_mode", "preconditions": {} } }, { "function": "set_dark_mode", "description": "Enable or disable dark mode. This changes only the dark mode setting.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "dark_mode" ], "semantics": { "kind": "set", "property": "dark_mode", "parameter": "value", "preconditions": {} } }, { "function": "get_screen_off_timeout_minutes", "description": "Return the configured screen-off timeout as one of the supported minute values: 1, 2, 5, or 10.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "screen_off_timeout_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "screen_off_timeout_minutes", "response_key": "screen_off_timeout_minutes", "preconditions": {} } }, { "function": "set_screen_off_timeout_minutes", "description": "Set the screen-off timeout to exactly 1, 2, 5, or 10 minutes. Unsupported values are rejected and leave all settings unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "1", "2", "5", "10" ], "examples": [ "1", "2", "5", "10" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "screen_off_timeout_minutes" ], "semantics": { "kind": "set", "property": "screen_off_timeout_minutes", "parameter": "value", "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": "hotspot_1" } } }, "result": { "call_id": "call_3", "turn_id": "turn_1", "sequence": 3, "status": "success", "code": "[PASS]", "data": { "device_id": "hotspot_1", "tools": [ { "function": "get_enabled", "description": "Return whether the personal hotspot is enabled.", "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 hotspot. Enabling establishes the hotspot immediately with operating_state active, but is rejected when wifi_conflict is true; a rejected call leaves all state unchanged. Disabling is always permitted, sets operating_state to stopped, and disconnects all clients while preserving the hotspot name, security method, credential, and operating band.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "enabled": { "type": "boolean", "description": "True to establish the hotspot or false to stop it.", "examples": [ true, false ] } }, "required": [ "enabled" ], "additionalProperties": false }, "reads": [ "wifi_conflict" ], "writes": [ "enabled", "operating_state", "connected_clients" ], "semantics": { "kind": "set", "property": "enabled", "parameter": "enabled", "preconditions": {} } }, { "function": "get_operating_state", "description": "Return whether the local hotspot is stopped or active. This state does not imply that upstream internet is available.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "operating_state" ], "writes": [], "semantics": { "kind": "read", "property": "operating_state", "response_key": "operating_state", "preconditions": {} } }, { "function": "get_hotspot_name", "description": "Return the configured hotspot broadcast name.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "hotspot_name" ], "writes": [], "semantics": { "kind": "read", "property": "hotspot_name", "response_key": "hotspot_name", "preconditions": {} } }, { "function": "set_hotspot_name", "description": "Set the hotspot broadcast name to 1 through 32 printable ASCII characters. The hotspot must be stopped. Invalid names or an active hotspot leave the existing name unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "hotspot_name": { "type": "string", "description": "New hotspot broadcast name.", "minLength": 1, "maxLength": 32, "pattern": "^[ -~]{1,32}$", "examples": [ "My-Hotspot", "Travel Network" ] } }, "required": [ "hotspot_name" ], "additionalProperties": false }, "reads": [ "operating_state" ], "writes": [ "hotspot_name" ], "semantics": { "kind": "set", "property": "hotspot_name", "parameter": "hotspot_name", "preconditions": { "operating_state": "stopped" } } }, { "function": "get_security_method", "description": "Return the configured hotspot security method.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "security_method" ], "writes": [], "semantics": { "kind": "read", "property": "security_method", "response_key": "security_method", "preconditions": {} } }, { "function": "set_security_method", "description": "Set the hotspot security method to WPA2-Personal or WPA3-Personal. The hotspot must be stopped. Unsupported values or an active hotspot leave the existing method unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "security_method": { "type": "string", "description": "Supported hotspot security method.", "enum": [ "wpa2_personal", "wpa3_personal" ], "examples": [ "wpa2_personal", "wpa3_personal" ] } }, "required": [ "security_method" ], "additionalProperties": false }, "reads": [ "operating_state" ], "writes": [ "security_method" ], "semantics": { "kind": "set", "property": "security_method", "parameter": "security_method", "preconditions": { "operating_state": "stopped" } } }, { "function": "get_credential", "description": "Return the configured synthetic hotspot credential. The value is local simulation configuration and does not prove identity or grant access to an external service.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "credential" ], "writes": [], "semantics": { "kind": "read", "property": "credential", "response_key": "credential", "preconditions": {} } }, { "function": "set_credential", "description": "Set the synthetic hotspot credential to 8 through 63 printable ASCII characters. The hotspot must be stopped. Invalid credentials or an active hotspot leave the existing credential unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "credential": { "type": "string", "description": "New synthetic WPA-Personal credential.", "minLength": 8, "maxLength": 63, "pattern": "^[ -~]{8,63}$", "examples": [ "securepass1", "travel-network-2026" ] } }, "required": [ "credential" ], "additionalProperties": false }, "reads": [ "operating_state" ], "writes": [ "credential" ], "semantics": { "kind": "set", "property": "credential", "parameter": "credential", "preconditions": { "operating_state": "stopped" } } }, { "function": "get_operating_band", "description": "Return the configured hotspot operating band.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "operating_band" ], "writes": [], "semantics": { "kind": "read", "property": "operating_band", "response_key": "operating_band", "preconditions": {} } }, { "function": "set_operating_band", "description": "Set the hotspot operating band to a fixed supported value. The hotspot must be stopped, and operating_band must be an existing key in supported_bands. Unsupported bands or an active hotspot leave the current band unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "operating_band": { "type": "string", "description": "Supported hotspot operating band.", "enum": [ "2_4_ghz", "5_ghz" ], "examples": [ "2_4_ghz", "5_ghz" ] } }, "required": [ "operating_band" ], "additionalProperties": false }, "reads": [ "operating_state", "supported_bands" ], "writes": [ "operating_band" ], "semantics": { "kind": "set", "property": "operating_band", "parameter": "operating_band", "preconditions": { "operating_state": "stopped", "supported_bands": { "contains_key": { "parameter": "operating_band" } } } } }, { "function": "get_supported_bands", "description": "Return the fixed dictionary of hotspot bands supported by this simulated device.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "supported_bands" ], "writes": [], "semantics": { "kind": "read", "property": "supported_bands", "response_key": "supported_bands", "preconditions": {} } }, { "function": "get_client_capacity", "description": "Return the fixed maximum number of simultaneously connected hotspot clients.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "client_capacity" ], "writes": [], "semantics": { "kind": "read", "property": "client_capacity", "response_key": "client_capacity", "preconditions": {} } }, { "function": "get_wifi_concurrency_supported", "description": "Return whether this simulated device supports concurrent Wi-Fi client and hotspot operation.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "wifi_concurrency_supported" ], "writes": [], "semantics": { "kind": "read", "property": "wifi_concurrency_supported", "response_key": "wifi_concurrency_supported", "preconditions": {} } }, { "function": "get_wifi_conflict", "description": "Return whether WiFi.enabled is true while this device does not support concurrent Wi-Fi client and hotspot operation.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "wifi_conflict" ], "writes": [], "semantics": { "kind": "read", "property": "wifi_conflict", "response_key": "wifi_conflict", "preconditions": {} } }, { "function": "get_upstream_available", "description": "Return the locally synchronized value of Connectivity.internet_available. This value does not indicate whether the hotspot itself is active.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "upstream_available" ], "writes": [], "semantics": { "kind": "read", "property": "upstream_available", "response_key": "upstream_available", "preconditions": {} } }, { "function": "get_connected_clients", "description": "Return the current client dictionary. Each client record reports internet_access as true only when the hotspot is active and the synchronized Connectivity.internet_available value is true.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "connected_clients" ], "writes": [], "semantics": { "kind": "read", "property": "connected_clients", "response_key": "connected_clients", "preconditions": {} } }, { "function": "connect_client", "description": "Connect one synthetic client to the active hotspot and return its generated stable client ID. The hotspot must be active, and the number of existing clients must be less than client_capacity. The new record preserves every existing client and contains the supplied client_name with internet_access initially false; dependency synchronization may subsequently mark retained clients as having internet access only when the hotspot remains active and Connectivity.internet_available is true. Invalid names, an inactive hotspot, or a full hotspot leave the collection unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "client_name": { "type": "string", "description": "Display name for the synthetic client.", "minLength": 1, "maxLength": 64, "pattern": "^[ -~]{1,64}$", "examples": [ "Tablet", "Work Laptop" ] } }, "required": [ "client_name" ], "additionalProperties": false }, "reads": [ "operating_state", "client_capacity", "connected_clients" ], "writes": [ "connected_clients" ], "semantics": { "kind": "collection_add", "property": "connected_clients", "response_key": "client_id", "fields": { "client_name": { "parameter": "client_name" }, "internet_access": { "value": false } }, "preconditions": { "operating_state": "active" } } }, { "function": "disconnect_client", "description": "Disconnect one existing synthetic client by ID. The selected record is removed while every other connected-client record is preserved. A nonexistent client ID is rejected and leaves the collection unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "client_id": { "type": "string", "description": "An existing synthetic client ID.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "client_1" ] } }, "required": [ "client_id" ], "additionalProperties": false }, "reads": [ "connected_clients" ], "writes": [ "connected_clients" ], "semantics": { "kind": "collection_delete", "property": "connected_clients", "id_parameter": "client_id", "preconditions": { "connected_clients": { "contains_key": { "parameter": "client_id" } } } } } ] }, "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": "location_1" } } }, "result": { "call_id": "call_4", "turn_id": "turn_1", "sequence": 4, "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": 4 } }, { "kind": "tool_exchange", "call": { "call_id": "call_5", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "media_player_1" } } }, "result": { "call_id": "call_5", "turn_id": "turn_1", "sequence": 5, "status": "success", "code": "[PASS]", "data": { "device_id": "media_player_1", "tools": [ { "function": "get_current_track", "description": "Return the currently selected preset track without changing playback or configuration.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "current_track" ], "writes": [], "semantics": { "kind": "read", "property": "current_track", "response_key": "current_track", "preconditions": {} } }, { "function": "set_current_track", "description": "Select one of the preset tracks: morning, news, or music. Selection does not change playback state, repeat mode, or shuffle. Invalid values are rejected and leave all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "morning", "news", "music" ], "examples": [ "morning", "news", "music" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "current_track" ], "semantics": { "kind": "set", "property": "current_track", "parameter": "value", "preconditions": {} } }, { "function": "get_playback_state", "description": "Return the current playback state without changing application state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "playback_state" ], "writes": [], "semantics": { "kind": "read", "property": "playback_state", "response_key": "playback_state", "preconditions": {} } }, { "function": "get_repeat_mode", "description": "Return the current repeat mode without changing playback or configuration.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "repeat_mode" ], "writes": [], "semantics": { "kind": "read", "property": "repeat_mode", "response_key": "repeat_mode", "preconditions": {} } }, { "function": "set_repeat_mode", "description": "Set repeat mode to none, one, or all without changing the selected track, playback state, or shuffle. Invalid values are rejected and leave all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "string", "enum": [ "none", "one", "all" ], "examples": [ "none", "one", "all" ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "repeat_mode" ], "semantics": { "kind": "set", "property": "repeat_mode", "parameter": "value", "preconditions": {} } }, { "function": "get_shuffle", "description": "Return whether shuffle is enabled without changing playback or configuration.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "shuffle" ], "writes": [], "semantics": { "kind": "read", "property": "shuffle", "response_key": "shuffle", "preconditions": {} } }, { "function": "set_shuffle", "description": "Enable or disable shuffle without changing the selected track, playback state, or repeat mode.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "shuffle" ], "semantics": { "kind": "set", "property": "shuffle", "parameter": "value", "preconditions": {} } }, { "function": "play", "description": "Start or resume playback of the selected track by changing playback_state to playing. This action is valid only while stopped or paused. If already playing, it fails and leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "playback_state" ], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "playing" } }, "preconditions": { "playback_state": { "one_of": [ "stopped", "paused" ] } } } }, { "function": "pause", "description": "Pause active playback by changing playback_state to paused. The selected track, repeat mode, and shuffle setting are preserved. This action fails without changing state unless playback is currently playing.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "playback_state" ], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "paused" } }, "preconditions": { "playback_state": "playing" } } }, { "function": "stop", "description": "Stop playback by changing only playback_state to stopped. The selected track, repeat mode, and shuffle setting are preserved. The action is idempotent when playback is already stopped.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [], "writes": [ "playback_state" ], "semantics": { "kind": "update", "fields": { "playback_state": { "value": "stopped" } }, "preconditions": {} } } ] }, "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": "privacy_1" } } }, "result": { "call_id": "call_6", "turn_id": "turn_1", "sequence": 6, "status": "success", "code": "[PASS]", "data": { "device_id": "privacy_1", "tools": [ { "function": "get_authorization", "description": "Return the stored authorization record for an existing application and one supported permission type. This reports authorization only; it does not imply that the resource and master-switch conditions currently allow effective access.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "app_id": { "type": "string", "description": "An existing stable application ID.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "camera_app", "maps" ] }, "permission": { "type": "string", "description": "The permission type to query.", "enum": [ "camera", "microphone", "location", "notifications" ], "examples": [ "camera", "location" ] } }, "required": [ "app_id", "permission" ], "additionalProperties": false }, "reads": [ "app_permissions" ], "writes": [], "semantics": { "kind": "custom", "reason": "The authorization record is nested first by application ID and then by permission type, which cannot be selected by the collection_read vocabulary.", "preconditions": { "app_permissions": { "contains_key": { "parameter": "app_id" } } } } }, { "function": "get_effective_access", "description": "Return whether an existing application currently has effective access to the selected permission. Access is effective only when stored authorization is granted, the corresponding system resource is available, and the relevant master switch is enabled. The response also includes the stored location scope and accuracy when location is selected. This query changes no state.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "app_id": { "type": "string", "description": "An existing stable application ID.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "camera_app", "maps" ] }, "permission": { "type": "string", "description": "The permission type whose effective access is queried.", "enum": [ "camera", "microphone", "location", "notifications" ], "examples": [ "microphone", "notifications" ] } }, "required": [ "app_id", "permission" ], "additionalProperties": false }, "reads": [ "app_permissions", "platform_conditions" ], "writes": [], "semantics": { "kind": "custom", "reason": "Effective access must select a nested authorization record and combine it with the resource and master-switch conditions for the requested permission.", "preconditions": { "app_permissions": { "contains_key": { "parameter": "app_id" } } } } }, { "function": "get_permission_requests", "description": "Return all permission-request records keyed by request ID. Pending, granted, and denied records remain distinct, and reading them changes no authorization.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "permission_requests" ], "writes": [], "semantics": { "kind": "read", "property": "permission_requests", "response_key": "permission_requests", "preconditions": {} } }, { "function": "get_permission_request", "description": "Return one existing permission-request record by stable request ID without changing its status or any authorization.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "request_id": { "type": "string", "description": "An existing permission-request ID.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128 } }, "required": [ "request_id" ], "additionalProperties": false }, "reads": [ "permission_requests" ], "writes": [], "semantics": { "kind": "collection_read", "property": "permission_requests", "id_parameter": "request_id", "response_key": "permission_request", "preconditions": { "permission_requests": { "contains_key": { "parameter": "request_id" } } } } }, { "function": "get_platform_config", "description": "Return the fixed platform permission configuration, including supported permission types and valid location scope and accuracy combinations.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "platform_config" ], "writes": [], "semantics": { "kind": "read", "property": "platform_config", "response_key": "platform_config", "preconditions": {} } }, { "function": "get_platform_conditions", "description": "Return current resource-availability and master-switch feedback for camera, microphone, location, and notifications without changing authorization or feedback.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "platform_conditions" ], "writes": [], "semantics": { "kind": "read", "property": "platform_conditions", "response_key": "platform_conditions", "preconditions": {} } }, { "function": "get_camera_in_use", "description": "Return current system privacy feedback indicating whether the camera is in use.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "camera_in_use" ], "writes": [], "semantics": { "kind": "read", "property": "camera_in_use", "response_key": "camera_in_use", "preconditions": {} } }, { "function": "get_microphone_in_use", "description": "Return current system privacy feedback indicating whether the microphone is in use.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "microphone_in_use" ], "writes": [], "semantics": { "kind": "read", "property": "microphone_in_use", "response_key": "microphone_in_use", "preconditions": {} } }, { "function": "request_permission", "description": "Create a new pending permission request for an existing application and return its generated request ID. For location, requested_scope must be while_in_use or background and requested_accuracy must be approximate or precise, and the pair must appear in the fixed valid-location combinations. For camera, microphone, or notifications, both values must be not_applicable. Invalid combinations leave all requests and authorizations unchanged. Creating a request does not grant authorization.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "app_id": { "type": "string", "description": "An existing stable application ID requesting permission.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "camera_app", "maps" ] }, "permission": { "type": "string", "description": "The requested permission type.", "enum": [ "camera", "microphone", "location", "notifications" ] }, "requested_scope": { "type": "string", "description": "Requested location scope, or not_applicable for a non-location permission.", "enum": [ "not_applicable", "while_in_use", "background" ] }, "requested_accuracy": { "type": "string", "description": "Requested location accuracy, or not_applicable for a non-location permission.", "enum": [ "not_applicable", "approximate", "precise" ] } }, "required": [ "app_id", "permission", "requested_scope", "requested_accuracy" ], "additionalProperties": false }, "reads": [ "app_permissions", "permission_requests", "platform_config" ], "writes": [ "permission_requests" ], "semantics": { "kind": "collection_add", "property": "permission_requests", "response_key": "request_id", "fields": { "app_id": { "parameter": "app_id" }, "permission": { "parameter": "permission" }, "requested_scope": { "parameter": "requested_scope" }, "requested_accuracy": { "parameter": "requested_accuracy" }, "status": { "value": "pending" } }, "preconditions": { "app_permissions": { "contains_key": { "parameter": "app_id" } } } } }, { "function": "resolve_permission_request", "description": "Resolve one pending permission request as granted or denied. Granting updates only the corresponding application permission, using the request's validated location scope and accuracy for location. Denying stores denied authorization with not_applicable scope and accuracy. The request record is retained with its final status, and all unrelated applications, permissions, and requests are preserved. A missing or already resolved request leaves state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "request_id": { "type": "string", "description": "The ID of an existing pending permission request.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128 }, "decision": { "type": "string", "description": "The simulated user decision for the pending request.", "enum": [ "granted", "denied" ] } }, "required": [ "request_id", "decision" ], "additionalProperties": false }, "reads": [ "app_permissions", "permission_requests", "platform_config" ], "writes": [ "app_permissions", "permission_requests" ], "semantics": { "kind": "custom", "reason": "Resolving a request atomically updates one request record and its corresponding nested application-permission record, which spans two collections and cannot be expressed by one collection semantic.", "preconditions": { "permission_requests": { "contains_key": { "parameter": "request_id" } } } } }, { "function": "set_authorization", "description": "Set one modifiable application permission through the simulated authorized system-settings interface. For granted location authorization, scope must be while_in_use or background and accuracy must be approximate or precise, with the pair present in the fixed valid-location combinations. For denied location authorization and for every non-location permission, scope and accuracy must both be not_applicable. Invalid values, unknown applications, and non-modifiable records leave all state unchanged. This operation does not create or resolve a permission request and preserves every unrelated record.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "app_id": { "type": "string", "description": "An existing stable application ID.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "camera_app", "maps" ] }, "permission": { "type": "string", "description": "The permission type to change.", "enum": [ "camera", "microphone", "location", "notifications" ] }, "authorization": { "type": "string", "description": "The desired stored authorization.", "enum": [ "granted", "denied" ] }, "scope": { "type": "string", "description": "Location scope for granted location access, otherwise not_applicable.", "enum": [ "not_applicable", "while_in_use", "background" ] }, "accuracy": { "type": "string", "description": "Location accuracy for granted location access, otherwise not_applicable.", "enum": [ "not_applicable", "approximate", "precise" ] } }, "required": [ "app_id", "permission", "authorization", "scope", "accuracy" ], "additionalProperties": false }, "reads": [ "app_permissions", "platform_config" ], "writes": [ "app_permissions" ], "semantics": { "kind": "custom", "reason": "The operation must atomically validate conditional location combinations and modify one permission nested within an application record while preserving all sibling records.", "preconditions": { "app_permissions": { "contains_key": { "parameter": "app_id" } } } } } ] }, "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": "rotation_1" } } }, "result": { "call_id": "call_7", "turn_id": "turn_1", "sequence": 7, "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": 7 } }, { "kind": "tool_exchange", "call": { "call_id": "call_8", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "system_settings_1" } } }, "result": { "call_id": "call_8", "turn_id": "turn_1", "sequence": 8, "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": 8 } }, { "kind": "tool_exchange", "call": { "call_id": "call_9", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "timer_1" } } }, "result": { "call_id": "call_9", "turn_id": "turn_1", "sequence": 9, "status": "success", "code": "[PASS]", "data": { "device_id": "timer_1", "tools": [ { "function": "get_duration_minutes", "description": "Return the configured countdown duration in whole minutes.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "duration_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "duration_minutes", "response_key": "duration_minutes", "preconditions": {} } }, { "function": "set_duration_minutes", "description": "Set the countdown duration to a whole number from 1 through 60 minutes. The duration may be changed only while the timer is idle or completed. Invalid values or process states leave all properties unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "duration_minutes": { "type": "integer", "minimum": 1, "maximum": 60, "multipleOf": 1, "examples": [ 1, 3, 30, 60 ] } }, "required": [ "duration_minutes" ], "additionalProperties": false }, "reads": [ "status" ], "writes": [ "duration_minutes" ], "semantics": { "kind": "set", "property": "duration_minutes", "parameter": "duration_minutes", "preconditions": { "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "get_mode", "description": "Return the selected countdown process mode.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "mode" ], "writes": [], "semantics": { "kind": "read", "property": "mode", "response_key": "mode", "preconditions": {} } }, { "function": "get_status", "description": "Return the current countdown process status.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "status" ], "writes": [], "semantics": { "kind": "read", "property": "status", "response_key": "status", "preconditions": {} } }, { "function": "get_phase", "description": "Return the current countdown phase.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "phase" ], "writes": [], "semantics": { "kind": "read", "property": "phase", "response_key": "phase", "preconditions": {} } }, { "function": "get_remaining_minutes", "description": "Return the whole number of minutes remaining in the countdown.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "remaining_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "remaining_minutes", "response_key": "remaining_minutes", "preconditions": {} } }, { "function": "get_started_at_minute", "description": "Return the elapsed world minute used as the monotonic origin for the current countdown progress.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "started_at_minute" ], "writes": [], "semantics": { "kind": "read", "property": "started_at_minute", "response_key": "started_at_minute", "preconditions": {} } }, { "function": "get_progress_minutes", "description": "Return the whole number of minutes elapsed in the current countdown.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "progress_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "progress_minutes", "response_key": "progress_minutes", "preconditions": {} } }, { "function": "start", "description": "Start a new countdown from idle or completed state. Starting resets progress to zero, initializes remaining time from the configured duration, and enters the countdown phase. Calls in other states fail without changing any property.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "mode": { "type": "string", "enum": [ "countdown" ], "examples": [ "countdown" ] } }, "required": [ "mode" ], "additionalProperties": false }, "reads": [ "status", "duration_minutes" ], "writes": [ "mode", "status", "phase", "remaining_minutes", "started_at_minute", "progress_minutes" ], "semantics": { "kind": "process_start", "mode_parameter": "mode", "preconditions": { "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "pause", "description": "Pause a running countdown while preserving its elapsed progress and remaining time. The call fails without changing state unless the timer is running.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "status" ], "writes": [ "status" ], "semantics": { "kind": "process_pause", "preconditions": { "status": "running" } } }, { "function": "resume", "description": "Resume a paused countdown without resetting its elapsed progress or remaining time. The call fails without changing state unless the timer is paused.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "status", "progress_minutes" ], "writes": [ "status", "started_at_minute" ], "semantics": { "kind": "process_resume", "preconditions": { "status": "paused" } } }, { "function": "cancel", "description": "Cancel a running, paused, or completed countdown and reset its process state to idle with zero progress and zero remaining minutes. The call fails without changing state when the timer is already idle.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "status" ], "writes": [ "status", "phase", "remaining_minutes", "started_at_minute", "progress_minutes" ], "semantics": { "kind": "update", "fields": { "status": { "value": "idle" }, "phase": { "value": "idle" }, "remaining_minutes": { "value": 0 }, "started_at_minute": { "value": 0 }, "progress_minutes": { "value": 0 } }, "preconditions": { "status": { "one_of": [ "running", "paused", "completed" ] } } } } ] }, "mutation_committed": false, "audit_sequence": 9 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_10", "turn_id": "turn_2", "command": { "target": "location_1", "function": "get_enabled", "parameters": {} } }, "result": { "call_id": "call_10", "turn_id": "turn_2", "sequence": 10, "status": "success", "code": "[PASS]", "data": { "enabled": true }, "mutation_committed": false, "audit_sequence": 11 } }, { "kind": "tool_exchange", "call": { "call_id": "call_11", "turn_id": "turn_2", "command": { "target": "hotspot_1", "function": "set_enabled", "parameters": { "enabled": true } } }, "result": { "call_id": "call_11", "turn_id": "turn_2", "sequence": 11, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 12 } }, { "kind": "tool_exchange", "call": { "call_id": "call_12", "turn_id": "turn_2", "command": { "target": "timer_1", "function": "get_mode", "parameters": {} } }, "result": { "call_id": "call_12", "turn_id": "turn_2", "sequence": 12, "status": "success", "code": "[PASS]", "data": { "mode": "countdown" }, "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": "countdown" } } }, "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": "rotation_1", "function": "get_orientation_lock", "parameters": {} } }, "result": { "call_id": "call_14", "turn_id": "turn_2", "sequence": 14, "status": "success", "code": "[PASS]", "data": { "orientation_lock": "portrait" }, "mutation_committed": false, "audit_sequence": 15 } }, { "kind": "tool_exchange", "call": { "call_id": "call_15", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": "portrait" } } }, "result": { "call_id": "call_15", "turn_id": "turn_2", "sequence": 15, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 1 }, "mutation_committed": false, "audit_sequence": 16 } }, { "kind": "tool_exchange", "call": { "call_id": "call_16", "turn_id": "turn_2", "command": { "target": "timer_1", "function": "get_remaining_minutes", "parameters": {} } }, "result": { "call_id": "call_16", "turn_id": "turn_2", "sequence": 16, "status": "success", "code": "[PASS]", "data": { "remaining_minutes": 3 }, "mutation_committed": false, "audit_sequence": 17 } }, { "kind": "tool_exchange", "call": { "call_id": "call_17", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": 3 } } }, "result": { "call_id": "call_17", "turn_id": "turn_2", "sequence": 17, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 2 }, "mutation_committed": false, "audit_sequence": 18 } }, { "kind": "tool_exchange", "call": { "call_id": "call_18", "turn_id": "turn_2", "command": { "target": "media_player_1", "function": "play", "parameters": {} } }, "result": { "call_id": "call_18", "turn_id": "turn_2", "sequence": 18, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 19 } }, { "kind": "tool_exchange", "call": { "call_id": "call_19", "turn_id": "turn_2", "command": { "target": "media_player_1", "function": "pause", "parameters": {} } }, "result": { "call_id": "call_19", "turn_id": "turn_2", "sequence": 19, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 20 } }, { "kind": "tool_exchange", "call": { "call_id": "call_20", "turn_id": "turn_2", "command": { "target": "privacy_1", "function": "request_permission", "parameters": { "app_id": "camera_app", "permission": "microphone", "requested_scope": "not_applicable", "requested_accuracy": "not_applicable" } } }, "result": { "call_id": "call_20", "turn_id": "turn_2", "sequence": 20, "status": "success", "code": "[PASS]", "data": { "request_id": "request_1" }, "mutation_committed": true, "audit_sequence": 21 } }, { "kind": "tool_exchange", "call": { "call_id": "call_21", "turn_id": "turn_2", "command": { "target": "system_settings_1", "function": "set_system_language", "parameters": { "language": "zh-CN" } } }, "result": { "call_id": "call_21", "turn_id": "turn_2", "sequence": 21, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 22 } }, { "kind": "tool_exchange", "call": { "call_id": "call_22", "turn_id": "turn_2", "command": { "target": "alarm_1", "function": "enable_alarm", "parameters": { "alarm_id": "alarm_2" } } }, "result": { "call_id": "call_22", "turn_id": "turn_2", "sequence": 22, "status": "success", "code": "[PASS]", "data": { "enabled_alarm": { "hour": 9, "minute": 0, "label": "Weekend", "enabled": true, "weekdays": [ 6, 7 ] } }, "mutation_committed": true, "audit_sequence": 23 } }, { "kind": "tool_exchange", "call": { "call_id": "call_23", "turn_id": "turn_2", "command": { "target": "display_1", "function": "set_brightness", "parameters": { "value": 61 } } }, "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": "media_player_1", "function": "get_repeat_mode", "parameters": {} } }, "result": { "call_id": "call_24", "turn_id": "turn_2", "sequence": 24, "status": "success", "code": "[PASS]", "data": { "repeat_mode": "one" }, "mutation_committed": false, "audit_sequence": 25 } }, { "kind": "tool_exchange", "call": { "call_id": "call_25", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": "one" } } }, "result": { "call_id": "call_25", "turn_id": "turn_2", "sequence": 25, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 3 }, "mutation_committed": false, "audit_sequence": 26 } }, { "kind": "tool_exchange", "call": { "call_id": "call_26", "turn_id": "turn_2", "command": { "target": "timer_1", "function": "get_phase", "parameters": {} } }, "result": { "call_id": "call_26", "turn_id": "turn_2", "sequence": 26, "status": "success", "code": "[PASS]", "data": { "phase": "countdown" }, "mutation_committed": false, "audit_sequence": 27 } }, { "kind": "tool_exchange", "call": { "call_id": "call_27", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": "countdown" } } }, "result": { "call_id": "call_27", "turn_id": "turn_2", "sequence": 27, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 4 }, "mutation_committed": false, "audit_sequence": 28 } }, { "kind": "tool_exchange", "call": { "call_id": "call_28", "turn_id": "turn_2", "command": { "target": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_28", "turn_id": "turn_2", "sequence": 28, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 29 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }
{
"trajectory_id": "task_25230cac_reference",
"world_id": "task_25230cac",
"task_id": "task_25230cac",
"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": "alarm_1"
}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "alarm_1",
"tools": [
{
"function": "add_alarm",
"description": "Add an alarm with the supplied hour, minute, label, weekdays, and optional enabled state. The system generates and returns a new stable string ID without changing existing records. Hour must be 0 through 23, minute must be 0 through 59, the label must contain 1 through 80 characters, and weekdays must contain no duplicate values outside 1 through 7. An empty weekdays list represents a one-time configuration. Invalid arguments leave the collection unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"hour": {
"type": "integer",
"minimum": 0,
"maximum": 23,
"examples": [
7,
12,
21
]
},
"minute": {
"type": "integer",
"minimum": 0,
"maximum": 59,
"examples": [
0,
15,
45
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"examples": [
"Morning",
"School pickup",
"Medication"
]
},
"weekdays": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
},
"examples": [
[],
[
1,
2,
3,
4,
5
],
[
6,
7
]
]
},
"enabled": {
"type": "boolean",
"default": false,
"examples": [
true,
false
]
}
},
"required": [
"hour",