SynthDCB / data /valid /Phone /task_0b598cfa /reference_trajectory.json
JamesZhutheThird's picture
Upload SynthDCB dataset
cffba29
Raw History Blame Contribute Delete
125 kB
{ "trajectory_id": "task_0b598cfa_reference", "world_id": "task_0b598cfa", "task_id": "task_0b598cfa", "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": "focus_1" } } }, "result": { "call_id": "call_2", "turn_id": "turn_1", "sequence": 2, "status": "success", "code": "[PASS]", "data": { "device_id": "focus_1", "tools": [ { "function": "add_rule", "description": "Add a focus rule and return its new stable synthetic ID. The name is user data. Priority is fixed for the lifetime of the rule and is used only to resolve simultaneous scheduled rules. Timezone must be a valid IANA time-zone identifier available to the simulation. Invalid input creates no record. After insertion, the effective policy is immediately reevaluated.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "name": { "type": "string", "minLength": 1, "maxLength": 80, "examples": [ "Project deadline", "Quiet evenings" ] }, "enabled": { "type": "boolean", "description": "Whether the rule is eligible for manual activation and scheduled selection." }, "priority": { "type": "integer", "minimum": 0, "maximum": 100, "multipleOf": 1, "description": "Immutable conflict priority; larger values win." }, "allowed_applications": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 128 }, "uniqueItems": true, "maxItems": 64 }, "allowed_categories": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 64 }, "uniqueItems": true, "maxItems": 32 }, "allowed_contacts": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 128 }, "uniqueItems": true, "maxItems": 64 }, "allow_repeat_callers": { "type": "boolean" }, "schedule_enabled": { "type": "boolean" }, "start_time": { "type": "string", "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$", "examples": [ "09:00", "22:30" ] }, "end_time": { "type": "string", "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$", "examples": [ "17:00", "07:00" ] }, "timezone": { "type": "string", "minLength": 1, "maxLength": 64, "examples": [ "UTC", "Europe/London", "Asia/Tokyo" ] }, "repeat_days": { "type": "array", "items": { "type": "string", "enum": [ "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday" ] }, "minItems": 1, "maxItems": 7, "uniqueItems": true } }, "required": [ "name", "enabled", "priority", "allowed_applications", "allowed_categories", "allowed_contacts", "allow_repeat_callers", "schedule_enabled", "start_time", "end_time", "timezone", "repeat_days" ], "additionalProperties": false }, "reads": [ "rules", "manual_override_rule_id" ], "writes": [ "rules", "effective_rule_id", "effective_source", "effective_policy" ], "semantics": { "kind": "collection_add", "property": "rules", "response_key": "rule_id", "fields": { "name": { "parameter": "name" }, "enabled": { "parameter": "enabled" }, "priority": { "parameter": "priority" }, "allowed_applications": { "parameter": "allowed_applications" }, "allowed_categories": { "parameter": "allowed_categories" }, "allowed_contacts": { "parameter": "allowed_contacts" }, "allow_repeat_callers": { "parameter": "allow_repeat_callers" }, "schedule_enabled": { "parameter": "schedule_enabled" }, "start_time": { "parameter": "start_time" }, "end_time": { "parameter": "end_time" }, "timezone": { "parameter": "timezone" }, "repeat_days": { "parameter": "repeat_days" } }, "preconditions": {} } }, { "function": "get_rule", "description": "Return one focus rule by stable ID without changing focus state. An unknown ID is rejected.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "rule_id": { "type": "string", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "rule_1" ] } }, "required": [ "rule_id" ], "additionalProperties": false }, "reads": [ "rules" ], "writes": [], "semantics": { "kind": "collection_read", "property": "rules", "id_parameter": "rule_id", "response_key": "rule", "preconditions": { "rules": { "contains_key": { "parameter": "rule_id" } } } } }, { "function": "update_rule", "description": "Partially update an existing focus rule. Omitted fields remain unchanged, and immutable priority cannot be changed. Disabling the manually selected rule causes immediate reevaluation to clear that override and select the current scheduled rule, if any. Timezone must be a valid supported IANA identifier. Invalid input or an unknown ID leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "rule_id": { "type": "string", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128 }, "name": { "type": "string", "minLength": 1, "maxLength": 80 }, "enabled": { "type": "boolean" }, "allowed_applications": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 128 }, "uniqueItems": true, "maxItems": 64 }, "allowed_categories": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 64 }, "uniqueItems": true, "maxItems": 32 }, "allowed_contacts": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 128 }, "uniqueItems": true, "maxItems": 64 }, "allow_repeat_callers": { "type": "boolean" }, "schedule_enabled": { "type": "boolean" }, "start_time": { "type": "string", "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" }, "end_time": { "type": "string", "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$" }, "timezone": { "type": "string", "minLength": 1, "maxLength": 64, "examples": [ "UTC", "America/New_York" ] }, "repeat_days": { "type": "array", "items": { "type": "string", "enum": [ "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday" ] }, "minItems": 1, "maxItems": 7, "uniqueItems": true } }, "required": [ "rule_id" ], "additionalProperties": false }, "reads": [ "rules", "manual_override_rule_id" ], "writes": [ "rules", "manual_override_rule_id", "effective_rule_id", "effective_source", "effective_policy" ], "semantics": { "kind": "collection_update", "property": "rules", "id_parameter": "rule_id", "fields": { "name": { "parameter": "name" }, "enabled": { "parameter": "enabled" }, "allowed_applications": { "parameter": "allowed_applications" }, "allowed_categories": { "parameter": "allowed_categories" }, "allowed_contacts": { "parameter": "allowed_contacts" }, "allow_repeat_callers": { "parameter": "allow_repeat_callers" }, "schedule_enabled": { "parameter": "schedule_enabled" }, "start_time": { "parameter": "start_time" }, "end_time": { "parameter": "end_time" }, "timezone": { "parameter": "timezone" }, "repeat_days": { "parameter": "repeat_days" } }, "preconditions": { "rules": { "contains_key": { "parameter": "rule_id" } } } } }, { "function": "delete_rule", "description": "Delete an existing focus rule while preserving every other rule. If the deleted rule supplied the manual override or effective policy, immediate reevaluation clears that reference and selects the current scheduled winner, if any.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "rule_id": { "type": "string", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128 } }, "required": [ "rule_id" ], "additionalProperties": false }, "reads": [ "rules", "manual_override_rule_id" ], "writes": [ "rules", "manual_override_rule_id", "effective_rule_id", "effective_source", "effective_policy" ], "semantics": { "kind": "collection_delete", "property": "rules", "id_parameter": "rule_id", "preconditions": { "rules": { "contains_key": { "parameter": "rule_id" } } } } }, { "function": "activate_rule_manually", "description": "Manually activate an existing enabled rule. The selected rule immediately overrides every scheduled rule until the override is cleared. An unknown or disabled rule is rejected and leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "rule_id": { "type": "string", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128 } }, "required": [ "rule_id" ], "additionalProperties": false }, "reads": [ "rules", "manual_override_rule_id" ], "writes": [ "manual_override_rule_id", "effective_rule_id", "effective_source", "effective_policy" ], "semantics": { "kind": "update", "fields": { "manual_override_rule_id": { "parameter": "rule_id" } }, "preconditions": { "rules": { "contains_key": { "parameter": "rule_id" } } } } }, { "function": "clear_manual_override", "description": "End the current manual override by clearing its rule ID. The operation is idempotent when no override exists, and the effective policy is immediately reevaluated from the current wall-clock schedules.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "rules", "manual_override_rule_id" ], "writes": [ "manual_override_rule_id", "effective_rule_id", "effective_source", "effective_policy" ], "semantics": { "kind": "update", "fields": { "manual_override_rule_id": { "value": "" } }, "preconditions": {} } }, { "function": "get_manual_override_rule_id", "description": "Return the stable ID selected as the manual override, or an empty string when no manual override exists.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "manual_override_rule_id" ], "writes": [], "semantics": { "kind": "read", "property": "manual_override_rule_id", "response_key": "manual_override_rule_id", "preconditions": {} } }, { "function": "get_effective_rule_id", "description": "Return the stable ID of the rule currently supplying the effective policy, or an empty string if no rule is active.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "effective_rule_id" ], "writes": [], "semantics": { "kind": "read", "property": "effective_rule_id", "response_key": "effective_rule_id", "preconditions": {} } }, { "function": "get_effective_source", "description": "Return whether the effective focus policy comes from a manual override, a schedule, or no active rule.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "effective_source" ], "writes": [], "semantics": { "kind": "read", "property": "effective_source", "response_key": "effective_source", "preconditions": {} } }, { "function": "get_effective_policy", "description": "Return the currently resolved interruption exceptions. The returned dictionary is empty when no focus rule is active.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "effective_policy" ], "writes": [], "semantics": { "kind": "read", "property": "effective_policy", "response_key": "effective_policy", "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": "notifications_1" } } }, "result": { "call_id": "call_3", "turn_id": "turn_1", "sequence": 3, "status": "success", "code": "[PASS]", "data": { "device_id": "notifications_1", "tools": [ { "function": "get_application_setting", "description": "Return the notification presentation preferences for one existing application ID. This reports local notification settings and does not report or modify the separate notification-sending authorization owned by Privacy.", "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": [ "Chat", "Calendar" ] } }, "required": [ "app_id" ], "additionalProperties": false }, "reads": [ "application_settings" ], "writes": [], "semantics": { "kind": "collection_read", "property": "application_settings", "id_parameter": "app_id", "response_key": "application_setting", "preconditions": { "application_settings": { "contains_key": { "parameter": "app_id" } } } } }, { "function": "update_application_setting", "description": "Partially update an existing application's notification presentation preferences. Omitted fields remain unchanged, the application name remains unchanged, and all other application records are preserved. notifications_enabled controls this module's application-level notification preference but does not grant Privacy authorization or guarantee that a notification will be shown or make a sound.", "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": [ "Chat", "Calendar" ] }, "notifications_enabled": { "type": "boolean", "description": "Optional application-level notification enablement preference." }, "alert_behavior": { "type": "string", "description": "Optional application alert preference.", "enum": [ "alert", "silent" ], "examples": [ "alert", "silent" ] }, "lock_screen_display": { "type": "string", "description": "Optional application lock-screen content preference.", "enum": [ "show_content", "hide_content", "do_not_show" ], "examples": [ "show_content", "hide_content", "do_not_show" ] } }, "required": [ "app_id" ], "additionalProperties": false }, "reads": [ "application_settings" ], "writes": [ "application_settings" ], "semantics": { "kind": "collection_update", "property": "application_settings", "id_parameter": "app_id", "fields": { "notifications_enabled": { "parameter": "notifications_enabled" }, "alert_behavior": { "parameter": "alert_behavior" }, "lock_screen_display": { "parameter": "lock_screen_display" } }, "preconditions": { "application_settings": { "contains_key": { "parameter": "app_id" } } } } }, { "function": "get_channel_setting", "description": "Return the notification preferences for one existing channel ID, including the stable ID of its owning application.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "channel_id": { "type": "string", "description": "An existing stable notification channel ID.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "chat_messages", "chat_updates", "calendar_reminders" ] } }, "required": [ "channel_id" ], "additionalProperties": false }, "reads": [ "channel_settings" ], "writes": [], "semantics": { "kind": "collection_read", "property": "channel_settings", "id_parameter": "channel_id", "response_key": "channel_setting", "preconditions": { "channel_settings": { "contains_key": { "parameter": "channel_id" } } } } }, { "function": "update_channel_setting", "description": "Partially update an existing notification channel. Omitted fields remain unchanged, ownership and channel name remain unchanged, and all other channel records are preserved. Enabling a channel does not override a disabled application preference, Privacy authorization, Focus policy, or Sound state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "channel_id": { "type": "string", "description": "An existing stable notification channel ID.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "chat_messages", "chat_updates", "calendar_reminders" ] }, "notifications_enabled": { "type": "boolean", "description": "Optional channel-level notification enablement preference." }, "alert_behavior": { "type": "string", "description": "Optional channel alert preference.", "enum": [ "alert", "silent" ], "examples": [ "alert", "silent" ] }, "lock_screen_display": { "type": "string", "description": "Optional channel lock-screen content preference.", "enum": [ "show_content", "hide_content", "do_not_show" ], "examples": [ "show_content", "hide_content", "do_not_show" ] } }, "required": [ "channel_id" ], "additionalProperties": false }, "reads": [ "channel_settings" ], "writes": [ "channel_settings" ], "semantics": { "kind": "collection_update", "property": "channel_settings", "id_parameter": "channel_id", "fields": { "notifications_enabled": { "parameter": "notifications_enabled" }, "alert_behavior": { "parameter": "alert_behavior" }, "lock_screen_display": { "parameter": "lock_screen_display" } }, "preconditions": { "channel_settings": { "contains_key": { "parameter": "channel_id" } } } } }, { "function": "get_current_notifications", "description": "Return all currently posted synthetic notifications keyed by stable notification ID. The records are local simulation metadata and querying them does not dismiss or otherwise change them.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "current_notifications" ], "writes": [], "semantics": { "kind": "read", "property": "current_notifications", "response_key": "current_notifications", "preconditions": {} } }, { "function": "get_notification", "description": "Return one currently posted synthetic notification by its stable ID without changing it.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "notification_id": { "type": "string", "description": "An existing stable notification ID.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "chat_001", "calendar_001" ] } }, "required": [ "notification_id" ], "additionalProperties": false }, "reads": [ "current_notifications" ], "writes": [], "semantics": { "kind": "collection_read", "property": "current_notifications", "id_parameter": "notification_id", "response_key": "notification", "preconditions": { "current_notifications": { "contains_key": { "parameter": "notification_id" } } } } }, { "function": "dismiss_notification", "description": "Dismiss an existing synthetic notification by deleting only its record. The notification must have dismissible set to true. A nonexistent ID or a nondismissible notification causes an explicit failure and leaves every notification unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "notification_id": { "type": "string", "description": "The stable ID of an existing dismissible notification.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "chat_001" ] } }, "required": [ "notification_id" ], "additionalProperties": false }, "reads": [ "current_notifications" ], "writes": [ "current_notifications" ], "semantics": { "kind": "collection_delete", "property": "current_notifications", "id_parameter": "notification_id", "preconditions": { "current_notifications": { "contains_key": { "parameter": "notification_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": "privacy_1" } } }, "result": { "call_id": "call_4", "turn_id": "turn_1", "sequence": 4, "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": 4 } }, { "kind": "tool_exchange", "call": { "call_id": "call_5", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "rotation_1" } } }, "result": { "call_id": "call_5", "turn_id": "turn_1", "sequence": 5, "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": 5 } }, { "kind": "tool_exchange", "call": { "call_id": "call_6", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "screen_capture_1" } } }, "result": { "call_id": "call_6", "turn_id": "turn_1", "sequence": 6, "status": "success", "code": "[PASS]", "data": { "device_id": "screen_capture_1", "tools": [ { "function": "get_authorization_status", "description": "Return the current simulated screen capture authorization status without changing it.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "authorization_status" ], "writes": [], "semantics": { "kind": "read", "property": "authorization_status", "response_key": "authorization_status", "preconditions": {} } }, { "function": "request_capture_authorization", "description": "Resolve a simulated screen capture authorization request using an explicit granted or denied user decision. Requests are accepted only while recording is idle. A granted decision sets authorization_status to granted, and a denied decision sets it to denied. Invalid input or an active recording leaves all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "decision": { "type": "string", "description": "Explicit simulated authorization decision.", "enum": [ "granted", "denied" ], "examples": [ "granted", "denied" ] } }, "required": [ "decision" ], "additionalProperties": false }, "reads": [ "recording_state" ], "writes": [ "authorization_status" ], "semantics": { "kind": "custom", "reason": "The operation applies a resolved simulated user authorization decision to an internally managed authorization state.", "preconditions": { "recording_state": "idle" } } }, { "function": "revoke_capture_authorization", "description": "Set authorization_status to revoked. If a recording is active, atomically terminate it, allocate one stable capture ID, and create an interrupted recording record with interruption_reason authorization_revoked. Its end_minute is the current monotonic elapsed simulation minute and duration_minutes is max(end_minute minus start_minute, 0). Revocation while idle creates no record. A successful interruption returns recording_state to idle and resets recording_started_at_minute to zero.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "recording_state", "microphone_audio_enabled", "captures", "recording_started_at_minute", "next_capture_number" ], "writes": [ "authorization_status", "recording_state", "captures", "recording_started_at_minute", "next_capture_number" ], "semantics": { "kind": "custom", "reason": "Revocation conditionally terminates an active recording and creates interruption metadata using monotonic simulation time." } }, { "function": "get_recording_state", "description": "Return whether screen recording is idle or currently recording.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "recording_state" ], "writes": [], "semantics": { "kind": "read", "property": "recording_state", "response_key": "recording_state", "preconditions": {} } }, { "function": "get_microphone_audio_enabled", "description": "Return whether newly started screen recordings are configured to include simulated microphone audio.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "microphone_audio_enabled" ], "writes": [], "semantics": { "kind": "read", "property": "microphone_audio_enabled", "response_key": "microphone_audio_enabled", "preconditions": {} } }, { "function": "set_microphone_audio_enabled", "description": "Enable or disable microphone audio for newly started recordings. The setting can change only while recording is idle. Enabling additionally requires microphone_access_granted to be true; disabling does not require microphone authorization. A rejected call leaves the setting unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "Whether newly started recordings should include microphone audio.", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [ "recording_state", "microphone_access_granted" ], "writes": [ "microphone_audio_enabled" ], "semantics": { "kind": "set", "property": "microphone_audio_enabled", "parameter": "value", "preconditions": { "recording_state": "idle" } } }, { "function": "get_microphone_access_granted", "description": "Return the microphone access state derived from the declared Privacy dependency property microphone_authorized.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "microphone_access_granted" ], "writes": [], "semantics": { "kind": "read", "property": "microphone_access_granted", "response_key": "microphone_access_granted", "preconditions": {} } }, { "function": "get_capture_block_reason", "description": "Return the current capture block reason derived from protected-content and capture-resource conditions, or none when those conditions permit capture.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "capture_block_reason" ], "writes": [], "semantics": { "kind": "read", "property": "capture_block_reason", "response_key": "capture_block_reason", "preconditions": {} } }, { "function": "get_captures", "description": "Return all metadata-only screenshot and completed or interrupted recording records keyed by stable capture ID. This query does not create, delete, or modify records.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "captures" ], "writes": [], "semantics": { "kind": "read", "property": "captures", "response_key": "captures", "preconditions": {} } }, { "function": "take_screenshot", "description": "Create one metadata-only screenshot record. Authorization must be granted and capture_block_reason must be none. On success, allocate capture_NNNNNN from next_capture_number and store exactly type screenshot, capture_minute equal to the current monotonic elapsed simulation minute, duration_minutes 0, and result completed. Protected content, a resource conflict, or missing authorization creates no record and does not consume an ID.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "authorization_status", "capture_block_reason", "captures", "next_capture_number" ], "writes": [ "captures", "next_capture_number" ], "semantics": { "kind": "custom", "reason": "A successful screenshot allocates a stable ID and stores metadata containing the current monotonic simulation minute." } }, { "function": "start_recording", "description": "Start one screen recording and store the current monotonic elapsed simulation minute in recording_started_at_minute. Authorization must be granted, recording_state must be idle, and capture_block_reason must be none. If microphone audio is enabled, microphone_access_granted must also be true. Repeated starts and all other failed starts leave state unchanged and create no record.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "authorization_status", "recording_state", "microphone_audio_enabled", "microphone_access_granted", "capture_block_reason" ], "writes": [ "recording_state", "recording_started_at_minute" ], "semantics": { "kind": "custom", "reason": "Starting recording validates multiple conditional authorization and resource interlocks and stores the current monotonic simulation minute." } }, { "function": "stop_recording", "description": "Normally stop the active screen recording. On success, allocate one stable capture ID and create a recording record with type recording, the stored start_minute, end_minute equal to the current monotonic elapsed simulation minute, duration_minutes equal to max(end_minute minus start_minute, 0), microphone_audio_included equal to the frozen microphone_audio_enabled setting, result completed, and interruption_reason none. Then set recording_state to idle and recording_started_at_minute to zero. A call while idle is rejected and creates no record.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "recording_state", "microphone_audio_enabled", "captures", "recording_started_at_minute", "next_capture_number" ], "writes": [ "recording_state", "captures", "recording_started_at_minute", "next_capture_number" ], "semantics": { "kind": "custom", "reason": "Stopping creates a stable completed recording record whose duration is calculated from monotonic simulation time." } }, { "function": "get_capture", "description": "Return one existing screenshot or completed or interrupted recording metadata record by stable ID. An unknown ID is rejected without changing the collection.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "capture_id": { "type": "string", "description": "Stable ID of an existing capture metadata record.", "pattern": "^capture_[0-9]{6,}$", "maxLength": 128, "examples": [ "capture_000001" ] } }, "required": [ "capture_id" ], "additionalProperties": false }, "reads": [ "captures" ], "writes": [], "semantics": { "kind": "collection_read", "property": "captures", "id_parameter": "capture_id", "response_key": "capture", "preconditions": { "captures": { "contains_key": { "parameter": "capture_id" } } } } }, { "function": "delete_capture", "description": "Delete one existing screenshot or completed or interrupted recording metadata record by stable ID while preserving every other record. Active recording state is unaffected. An unknown ID is rejected without changing the collection.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "capture_id": { "type": "string", "description": "Stable ID of an existing capture metadata record to delete.", "pattern": "^capture_[0-9]{6,}$", "maxLength": 128, "examples": [ "capture_000001" ] } }, "required": [ "capture_id" ], "additionalProperties": false }, "reads": [ "captures" ], "writes": [ "captures" ], "semantics": { "kind": "collection_delete", "property": "captures", "id_parameter": "capture_id", "preconditions": { "captures": { "contains_key": { "parameter": "capture_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": "system_settings_1" } } }, "result": { "call_id": "call_7", "turn_id": "turn_1", "sequence": 7, "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": 7 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_8", "turn_id": "turn_2", "command": { "target": "system_settings_1", "function": "get_wall_clock_offset_minutes", "parameters": {} } }, "result": { "call_id": "call_8", "turn_id": "turn_2", "sequence": 8, "status": "success", "code": "[PASS]", "data": { "wall_clock_offset_minutes": 0 }, "mutation_committed": false, "audit_sequence": 9 } }, { "kind": "tool_exchange", "call": { "call_id": "call_9", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": 0 } } }, "result": { "call_id": "call_9", "turn_id": "turn_2", "sequence": 9, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 0 }, "mutation_committed": false, "audit_sequence": 10 } }, { "kind": "tool_exchange", "call": { "call_id": "call_10", "turn_id": "turn_2", "command": { "target": "rotation_1", "function": "get_auto_rotate", "parameters": {} } }, "result": { "call_id": "call_10", "turn_id": "turn_2", "sequence": 10, "status": "success", "code": "[PASS]", "data": { "auto_rotate": false }, "mutation_committed": false, "audit_sequence": 11 } }, { "kind": "tool_exchange", "call": { "call_id": "call_11", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": false } } }, "result": { "call_id": "call_11", "turn_id": "turn_2", "sequence": 11, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 1 }, "mutation_committed": false, "audit_sequence": 12 } }, { "kind": "tool_exchange", "call": { "call_id": "call_12", "turn_id": "turn_2", "command": { "target": "accessibility_1", "function": "get_captions_enabled", "parameters": {} } }, "result": { "call_id": "call_12", "turn_id": "turn_2", "sequence": 12, "status": "success", "code": "[PASS]", "data": { "captions_enabled": false }, "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": false } } }, "result": { "call_id": "call_13", "turn_id": "turn_2", "sequence": 13, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 2 }, "mutation_committed": false, "audit_sequence": 14 } }, { "kind": "tool_exchange", "call": { "call_id": "call_14", "turn_id": "turn_2", "command": { "target": "privacy_1", "function": "get_camera_in_use", "parameters": {} } }, "result": { "call_id": "call_14", "turn_id": "turn_2", "sequence": 14, "status": "success", "code": "[PASS]", "data": { "camera_in_use": false }, "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": false } } }, "result": { "call_id": "call_15", "turn_id": "turn_2", "sequence": 15, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 3 }, "mutation_committed": false, "audit_sequence": 16 } }, { "kind": "tool_exchange", "call": { "call_id": "call_16", "turn_id": "turn_2", "command": { "target": "screen_capture_1", "function": "get_captures", "parameters": {} } }, "result": { "call_id": "call_16", "turn_id": "turn_2", "sequence": 16, "status": "success", "code": "[PASS]", "data": { "captures": {} }, "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": {} } } }, "result": { "call_id": "call_17", "turn_id": "turn_2", "sequence": 17, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 4 }, "mutation_committed": false, "audit_sequence": 18 } }, { "kind": "tool_exchange", "call": { "call_id": "call_18", "turn_id": "turn_2", "command": { "target": "notifications_1", "function": "get_channel_setting", "parameters": { "channel_id": "calendar_reminders" } } }, "result": { "call_id": "call_18", "turn_id": "turn_2", "sequence": 18, "status": "success", "code": "[PASS]", "data": { "channel_setting": { "app_id": "Calendar", "name": "Reminders", "notifications_enabled": true, "alert_behavior": "alert", "lock_screen_display": "hide_content" } }, "mutation_committed": false, "audit_sequence": 19 } }, { "kind": "tool_exchange", "call": { "call_id": "call_19", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": { "app_id": "Calendar", "name": "Reminders", "notifications_enabled": true, "alert_behavior": "alert", "lock_screen_display": "hide_content" } } } }, "result": { "call_id": "call_19", "turn_id": "turn_2", "sequence": 19, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 5 }, "mutation_committed": false, "audit_sequence": 20 } }, { "kind": "tool_exchange", "call": { "call_id": "call_20", "turn_id": "turn_2", "command": { "target": "focus_1", "function": "get_effective_source", "parameters": {} } }, "result": { "call_id": "call_20", "turn_id": "turn_2", "sequence": 20, "status": "success", "code": "[PASS]", "data": { "effective_source": "none" }, "mutation_committed": false, "audit_sequence": 21 } }, { "kind": "tool_exchange", "call": { "call_id": "call_21", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": "none" } } }, "result": { "call_id": "call_21", "turn_id": "turn_2", "sequence": 21, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 6 }, "mutation_committed": false, "audit_sequence": 22 } }, { "kind": "tool_exchange", "call": { "call_id": "call_22", "turn_id": "turn_2", "command": { "target": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_22", "turn_id": "turn_2", "sequence": 22, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 23 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }
{
"trajectory_id": "task_0b598cfa_reference",
"world_id": "task_0b598cfa",
"task_id": "task_0b598cfa",
"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",