{ "trajectory_id": "task_0fdb0477_reference", "world_id": "task_0fdb0477", "task_id": "task_0fdb0477", "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": "privacy_1" } } }, "result": { "call_id": "call_2", "turn_id": "turn_1", "sequence": 2, "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": 2 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_3", "turn_id": "turn_2", "command": { "target": "accessibility_1", "function": "set_font_scale_level", "parameters": { "level": "small" } } }, "result": { "call_id": "call_3", "turn_id": "turn_2", "sequence": 3, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 4 } }, { "kind": "tool_exchange", "call": { "call_id": "call_4", "turn_id": "turn_2", "command": { "target": "privacy_1", "function": "get_microphone_in_use", "parameters": {} } }, "result": { "call_id": "call_4", "turn_id": "turn_2", "sequence": 4, "status": "success", "code": "[PASS]", "data": { "microphone_in_use": false }, "mutation_committed": false, "audit_sequence": 5 } }, { "kind": "tool_exchange", "call": { "call_id": "call_5", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_answer", "parameters": { "value": false } } }, "result": { "call_id": "call_5", "turn_id": "turn_2", "sequence": 5, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 0 }, "mutation_committed": false, "audit_sequence": 6 } }, { "kind": "tool_exchange", "call": { "call_id": "call_6", "turn_id": "turn_2", "command": { "target": "session", "function": "submit_report", "parameters": { "status": "infeasible", "reason_code": "DEVICE_PROPERTY_NOT_SUPPORTED", "description": "Setting Flashlight 1 does not support the requested brightness_level operation.", "affected_properties": [ "brightness_level" ] } } }, "result": { "call_id": "call_6", "turn_id": "turn_2", "sequence": 6, "status": "success", "code": "[PASS]", "data": { "accepted": true, "index": 0 }, "mutation_committed": false, "audit_sequence": 7 } }, { "kind": "tool_exchange", "call": { "call_id": "call_7", "turn_id": "turn_2", "command": { "target": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_7", "turn_id": "turn_2", "sequence": 7, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 8 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }