Download data/valid/Phone/task_ce43f3e4/reference_trajectory.json from JamesZhutheThird/SynthDCB: direct link, hf CLI and curl.
- Browser
- Download file 185 kB
-
https://huggingface.co/datasets/JamesZhutheThird/SynthDCB/resolve/main/data/valid/Phone/task_ce43f3e4/reference_trajectory.json
- Command line
-
hf download hf://datasets/JamesZhutheThird/SynthDCB/data/valid/Phone/task_ce43f3e4/reference_trajectory.json
-
curl -L -o reference_trajectory.json https://huggingface.co/datasets/JamesZhutheThird/SynthDCB/resolve/main/data/valid/Phone/task_ce43f3e4/reference_trajectory.json
185 kB
{
"trajectory_id": "task_ce43f3e4_reference",
"world_id": "task_ce43f3e4",
"task_id": "task_ce43f3e4",
"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": "connectivity_1"
}
}
},
"result": {
"call_id": "call_2",
"turn_id": "turn_1",
"sequence": 2,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "connectivity_1",
"tools": [
{
"function": "get_sim_slot_count",
"description": "Return the fixed number of cellular SIM slots supported by this simulated phone.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"sim_slot_count"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "sim_slot_count",
"response_key": "sim_slot_count",
"preconditions": {}
}
},
{
"function": "get_sim_state",
"description": "Return whether the cellular-data SIM is absent, invalid, or ready without changing its state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"sim_state"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "sim_state",
"response_key": "sim_state",
"preconditions": {}
}
},
{
"function": "get_service_state",
"description": "Return the current cellular service feedback as unavailable, home, or roaming. This does not change roaming permission.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"service_state"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "service_state",
"response_key": "service_state",
"preconditions": {}
}
},
{
"function": "get_mobile_data_enabled",
"description": "Return whether cellular mobile data is enabled as a user setting. The result does not by itself assert that a cellular link or internet access is available.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"mobile_data_enabled"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "mobile_data_enabled",
"response_key": "mobile_data_enabled",
"preconditions": {}
}
},
{
"function": "set_mobile_data_enabled",
"description": "Enable or disable the mobile-data setting. Disabling immediately makes an existing cellular link ineligible and clears cellular-derived upstream and internet feedback while preserving any Wi-Fi upstream. Enabling does not manufacture a connection; full derived feedback is recomputed when network dependencies are evaluated. Invalid input is rejected and leaves all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "boolean",
"description": "Desired mobile-data enabled setting.",
"examples": [
true,
false
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"sim_state",
"service_state",
"mobile_data_enabled",
"data_roaming_enabled",
"signal_strength_percent",
"upstream_network"
],
"writes": [
"mobile_data_enabled",
"cellular_link_state",
"upstream_network",
"internet_available"
],
"semantics": {
"kind": "set",
"property": "mobile_data_enabled",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_data_roaming_enabled",
"description": "Return whether cellular data use is permitted while roaming. This permission is independent of the current service state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"data_roaming_enabled"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "data_roaming_enabled",
"response_key": "data_roaming_enabled",
"preconditions": {}
}
},
{
"function": "set_data_roaming_enabled",
"description": "Permit or deny cellular data use while roaming. If service is currently roaming, denying permission immediately disconnects an existing cellular link and clears cellular-derived upstream and internet feedback while preserving any Wi-Fi upstream. This setting does not make the phone enter or leave roaming service. Invalid input is rejected and leaves all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "boolean",
"description": "Whether cellular data should be permitted while roaming.",
"examples": [
true,
false
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"sim_state",
"service_state",
"mobile_data_enabled",
"data_roaming_enabled",
"signal_strength_percent",
"upstream_network"
],
"writes": [
"data_roaming_enabled",
"cellular_link_state",
"upstream_network",
"internet_available"
],
"semantics": {
"kind": "set",
"property": "data_roaming_enabled",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_signal_strength_percent",
"description": "Return the current normalized cellular signal-strength feedback from 0 through 100 percent without changing connectivity.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"signal_strength_percent"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "signal_strength_percent",
"response_key": "signal_strength_percent",
"preconditions": {}
}
},
{
"function": "get_cellular_link_state",
"description": "Return the current read-only cellular data link state. This feedback is distinct from the mobile-data switch.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"cellular_link_state"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "cellular_link_state",
"response_key": "cellular_link_state",
"preconditions": {}
}
},
{
"function": "get_upstream_network",
"description": "Return the phone's current aggregated upstream selection as none, cellular, or wifi. This query does not modify Wi-Fi or cellular state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"upstream_network"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "upstream_network",
"response_key": "upstream_network",
"preconditions": {}
}
},
{
"function": "get_internet_available",
"description": "Return whether internet access is currently available through the deterministically selected upstream network.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"internet_available"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "internet_available",
"response_key": "internet_available",
"preconditions": {}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 2
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_3",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "display_1"
}
}
},
"result": {
"call_id": "call_3",
"turn_id": "turn_1",
"sequence": 3,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "display_1",
"tools": [
{
"function": "get_brightness",
"description": "Return the configured display brightness percentage without changing any setting.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"brightness"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "brightness",
"response_key": "brightness",
"preconditions": {}
}
},
{
"function": "set_brightness",
"description": "Set display brightness to a whole-number percentage from 0 through 100. Invalid values are rejected and leave all settings unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"multipleOf": 1,
"examples": [
0,
25,
50,
100
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"brightness"
],
"semantics": {
"kind": "set",
"property": "brightness",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_automatic_brightness",
"description": "Return whether automatic brightness adjustment is enabled without changing any setting.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"automatic_brightness"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "automatic_brightness",
"response_key": "automatic_brightness",
"preconditions": {}
}
},
{
"function": "set_automatic_brightness",
"description": "Enable or disable automatic brightness adjustment. This changes only the automatic brightness setting.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "boolean",
"examples": [
true,
false
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"automatic_brightness"
],
"semantics": {
"kind": "set",
"property": "automatic_brightness",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_dark_mode",
"description": "Return whether dark mode is enabled without changing any setting.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"dark_mode"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "dark_mode",
"response_key": "dark_mode",
"preconditions": {}
}
},
{
"function": "set_dark_mode",
"description": "Enable or disable dark mode. This changes only the dark mode setting.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "boolean",
"examples": [
true,
false
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"dark_mode"
],
"semantics": {
"kind": "set",
"property": "dark_mode",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_screen_off_timeout_minutes",
"description": "Return the configured screen-off timeout as one of the supported minute values: 1, 2, 5, or 10.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"screen_off_timeout_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "screen_off_timeout_minutes",
"response_key": "screen_off_timeout_minutes",
"preconditions": {}
}
},
{
"function": "set_screen_off_timeout_minutes",
"description": "Set the screen-off timeout to exactly 1, 2, 5, or 10 minutes. Unsupported values are rejected and leave all settings unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"1",
"2",
"5",
"10"
],
"examples": [
"1",
"2",
"5",
"10"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"screen_off_timeout_minutes"
],
"semantics": {
"kind": "set",
"property": "screen_off_timeout_minutes",
"parameter": "value",
"preconditions": {}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 3
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_4",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "focus_1"
}
}
},
"result": {
"call_id": "call_4",
"turn_id": "turn_1",
"sequence": 4,
"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": 4
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_5",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "hotspot_1"
}
}
},
"result": {
"call_id": "call_5",
"turn_id": "turn_1",
"sequence": 5,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "hotspot_1",
"tools": [
{
"function": "get_enabled",
"description": "Return whether the personal hotspot is enabled.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"enabled"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "enabled",
"response_key": "enabled",
"preconditions": {}
}
},
{
"function": "set_enabled",
"description": "Enable or disable the hotspot. Enabling establishes the hotspot immediately with operating_state active, but is rejected when wifi_conflict is true; a rejected call leaves all state unchanged. Disabling is always permitted, sets operating_state to stopped, and disconnects all clients while preserving the hotspot name, security method, credential, and operating band.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "True to establish the hotspot or false to stop it.",
"examples": [
true,
false
]
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"reads": [
"wifi_conflict"
],
"writes": [
"enabled",
"operating_state",
"connected_clients"
],
"semantics": {
"kind": "set",
"property": "enabled",
"parameter": "enabled",
"preconditions": {}
}
},
{
"function": "get_operating_state",
"description": "Return whether the local hotspot is stopped or active. This state does not imply that upstream internet is available.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"operating_state"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "operating_state",
"response_key": "operating_state",
"preconditions": {}
}
},
{
"function": "get_hotspot_name",
"description": "Return the configured hotspot broadcast name.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"hotspot_name"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "hotspot_name",
"response_key": "hotspot_name",
"preconditions": {}
}
},
{
"function": "set_hotspot_name",
"description": "Set the hotspot broadcast name to 1 through 32 printable ASCII characters. The hotspot must be stopped. Invalid names or an active hotspot leave the existing name unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"hotspot_name": {
"type": "string",
"description": "New hotspot broadcast name.",
"minLength": 1,
"maxLength": 32,
"pattern": "^[ -~]{1,32}$",
"examples": [
"My-Hotspot",
"Travel Network"
]
}
},
"required": [
"hotspot_name"
],
"additionalProperties": false
},
"reads": [
"operating_state"
],
"writes": [
"hotspot_name"
],
"semantics": {
"kind": "set",
"property": "hotspot_name",
"parameter": "hotspot_name",
"preconditions": {
"operating_state": "stopped"
}
}
},
{
"function": "get_security_method",
"description": "Return the configured hotspot security method.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"security_method"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "security_method",
"response_key": "security_method",
"preconditions": {}
}
},
{
"function": "set_security_method",
"description": "Set the hotspot security method to WPA2-Personal or WPA3-Personal. The hotspot must be stopped. Unsupported values or an active hotspot leave the existing method unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"security_method": {
"type": "string",
"description": "Supported hotspot security method.",
"enum": [
"wpa2_personal",
"wpa3_personal"
],
"examples": [
"wpa2_personal",
"wpa3_personal"
]
}
},
"required": [
"security_method"
],
"additionalProperties": false
},
"reads": [
"operating_state"
],
"writes": [
"security_method"
],
"semantics": {
"kind": "set",
"property": "security_method",
"parameter": "security_method",
"preconditions": {
"operating_state": "stopped"
}
}
},
{
"function": "get_credential",
"description": "Return the configured synthetic hotspot credential. The value is local simulation configuration and does not prove identity or grant access to an external service.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"credential"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "credential",
"response_key": "credential",
"preconditions": {}
}
},
{
"function": "set_credential",
"description": "Set the synthetic hotspot credential to 8 through 63 printable ASCII characters. The hotspot must be stopped. Invalid credentials or an active hotspot leave the existing credential unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"credential": {
"type": "string",
"description": "New synthetic WPA-Personal credential.",
"minLength": 8,
"maxLength": 63,
"pattern": "^[ -~]{8,63}$",
"examples": [
"securepass1",
"travel-network-2026"
]
}
},
"required": [
"credential"
],
"additionalProperties": false
},
"reads": [
"operating_state"
],
"writes": [
"credential"
],
"semantics": {
"kind": "set",
"property": "credential",
"parameter": "credential",
"preconditions": {
"operating_state": "stopped"
}
}
},
{
"function": "get_operating_band",
"description": "Return the configured hotspot operating band.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"operating_band"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "operating_band",
"response_key": "operating_band",
"preconditions": {}
}
},
{
"function": "set_operating_band",
"description": "Set the hotspot operating band to a fixed supported value. The hotspot must be stopped, and operating_band must be an existing key in supported_bands. Unsupported bands or an active hotspot leave the current band unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"operating_band": {
"type": "string",
"description": "Supported hotspot operating band.",
"enum": [
"2_4_ghz",
"5_ghz"
],
"examples": [
"2_4_ghz",
"5_ghz"
]
}
},
"required": [
"operating_band"
],
"additionalProperties": false
},
"reads": [
"operating_state",
"supported_bands"
],
"writes": [
"operating_band"
],
"semantics": {
"kind": "set",
"property": "operating_band",
"parameter": "operating_band",
"preconditions": {
"operating_state": "stopped",
"supported_bands": {
"contains_key": {
"parameter": "operating_band"
}
}
}
}
},
{
"function": "get_supported_bands",
"description": "Return the fixed dictionary of hotspot bands supported by this simulated device.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"supported_bands"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "supported_bands",
"response_key": "supported_bands",
"preconditions": {}
}
},
{
"function": "get_client_capacity",
"description": "Return the fixed maximum number of simultaneously connected hotspot clients.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"client_capacity"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "client_capacity",
"response_key": "client_capacity",
"preconditions": {}
}
},
{
"function": "get_wifi_concurrency_supported",
"description": "Return whether this simulated device supports concurrent Wi-Fi client and hotspot operation.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"wifi_concurrency_supported"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "wifi_concurrency_supported",
"response_key": "wifi_concurrency_supported",
"preconditions": {}
}
},
{
"function": "get_wifi_conflict",
"description": "Return whether WiFi.enabled is true while this device does not support concurrent Wi-Fi client and hotspot operation.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"wifi_conflict"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "wifi_conflict",
"response_key": "wifi_conflict",
"preconditions": {}
}
},
{
"function": "get_upstream_available",
"description": "Return the locally synchronized value of Connectivity.internet_available. This value does not indicate whether the hotspot itself is active.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"upstream_available"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "upstream_available",
"response_key": "upstream_available",
"preconditions": {}
}
},
{
"function": "get_connected_clients",
"description": "Return the current client dictionary. Each client record reports internet_access as true only when the hotspot is active and the synchronized Connectivity.internet_available value is true.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"connected_clients"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "connected_clients",
"response_key": "connected_clients",
"preconditions": {}
}
},
{
"function": "connect_client",
"description": "Connect one synthetic client to the active hotspot and return its generated stable client ID. The hotspot must be active, and the number of existing clients must be less than client_capacity. The new record preserves every existing client and contains the supplied client_name with internet_access initially false; dependency synchronization may subsequently mark retained clients as having internet access only when the hotspot remains active and Connectivity.internet_available is true. Invalid names, an inactive hotspot, or a full hotspot leave the collection unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"client_name": {
"type": "string",
"description": "Display name for the synthetic client.",
"minLength": 1,
"maxLength": 64,
"pattern": "^[ -~]{1,64}$",
"examples": [
"Tablet",
"Work Laptop"
]
}
},
"required": [
"client_name"
],
"additionalProperties": false
},
"reads": [
"operating_state",
"client_capacity",
"connected_clients"
],
"writes": [
"connected_clients"
],
"semantics": {
"kind": "collection_add",
"property": "connected_clients",
"response_key": "client_id",
"fields": {
"client_name": {
"parameter": "client_name"
},
"internet_access": {
"value": false
}
},
"preconditions": {
"operating_state": "active"
}
}
},
{
"function": "disconnect_client",
"description": "Disconnect one existing synthetic client by ID. The selected record is removed while every other connected-client record is preserved. A nonexistent client ID is rejected and leaves the collection unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"client_id": {
"type": "string",
"description": "An existing synthetic client ID.",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"examples": [
"client_1"
]
}
},
"required": [
"client_id"
],
"additionalProperties": false
},
"reads": [
"connected_clients"
],
"writes": [
"connected_clients"
],
"semantics": {
"kind": "collection_delete",
"property": "connected_clients",
"id_parameter": "client_id",
"preconditions": {
"connected_clients": {
"contains_key": {
"parameter": "client_id"
}
}
}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 5
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_6",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "location_1"
}
}
},
"result": {
"call_id": "call_6",
"turn_id": "turn_1",
"sequence": 6,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "location_1",
"tools": [
{
"function": "get_enabled",
"description": "Return whether the system-wide location switch is enabled without changing any state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"enabled"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "enabled",
"response_key": "enabled",
"preconditions": {}
}
},
{
"function": "set_enabled",
"description": "Enable or disable the system-wide location switch. Disabling immediately prevents new location acquisitions but retains the last successful sample as historical feedback. Enabling does not grant permissions or make an unavailable source available.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "boolean",
"description": "The desired system-wide location switch state.",
"examples": [
true,
false
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"enabled"
],
"semantics": {
"kind": "set",
"property": "enabled",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_source_available",
"description": "Return whether the deterministic synthetic location source is currently available.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"source_available"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "source_available",
"response_key": "source_available",
"preconditions": {}
}
},
{
"function": "get_application_location_access",
"description": "Return the referenced location authorization and running-state record for an existing application ID. This operation does not modify permissions; Privacy remains authoritative for authorization.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"description": "An existing application ID in application_access.",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 128,
"examples": [
"maps",
"fitness"
]
}
},
"required": [
"application_id"
],
"additionalProperties": false
},
"reads": [
"application_access"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "application_access",
"id_parameter": "application_id",
"response_key": "application_location_access",
"preconditions": {
"application_access": {
"contains_key": {
"parameter": "application_id"
}
}
}
}
},
{
"function": "get_effective_location_availability",
"description": "Determine effective location availability for an existing application without acquiring a sample. Availability is true only when the system switch is enabled, the source is available, and the application is running in an authorized state: foreground requires foreground authorization, background requires background authorization, and stopped is never available. Precision authorization affects result accuracy but not basic availability.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"description": "An existing application ID in application_access.",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 128,
"examples": [
"maps",
"fitness"
]
}
},
"required": [
"application_id"
],
"additionalProperties": false
},
"reads": [
"enabled",
"source_available",
"application_access"
],
"writes": [],
"semantics": {
"kind": "custom",
"reason": "Effective availability depends on fields within the selected application record and cannot be represented as a literal property precondition.",
"preconditions": {
"application_access": {
"contains_key": {
"parameter": "application_id"
}
}
}
}
},
{
"function": "get_last_location",
"description": "Return the last successful synthetic location sample. Before the first success, has_sample is false and the position, accuracy, and sample time fields are null.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"last_location"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "last_location",
"response_key": "last_location",
"preconditions": {}
}
},
{
"function": "request_current_location",
"description": "Request a current deterministic synthetic location for an existing application. The request succeeds only when the system switch is enabled, the source is available, and the application's running state has the required referenced authorization. A foreground application requires foreground authorization; a background application requires background authorization; a stopped application is rejected. Precise authorization produces latitude 35.1234, longitude -120.5678, and 10-meter accuracy. Otherwise a permitted request produces latitude 35.12, longitude -120.57, and 1000-meter accuracy. A successful request records the current elapsed simulation minute. Any failure leaves last_location unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"description": "An existing application ID requesting location.",
"pattern": "^[A-Za-z0-9_.-]+$",
"maxLength": 128,
"examples": [
"maps",
"fitness"
]
}
},
"required": [
"application_id"
],
"additionalProperties": false
},
"reads": [
"enabled",
"source_available",
"application_access"
],
"writes": [
"last_location"
],
"semantics": {
"kind": "custom",
"reason": "Acquisition conditionally validates fields in the selected application record and records deterministic position feedback with the current elapsed simulation minute.",
"preconditions": {
"application_access": {
"contains_key": {
"parameter": "application_id"
}
}
}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 6
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_7",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "media_player_1"
}
}
},
"result": {
"call_id": "call_7",
"turn_id": "turn_1",
"sequence": 7,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "media_player_1",
"tools": [
{
"function": "get_current_track",
"description": "Return the currently selected preset track without changing playback or configuration.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"current_track"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "current_track",
"response_key": "current_track",
"preconditions": {}
}
},
{
"function": "set_current_track",
"description": "Select one of the preset tracks: morning, news, or music. Selection does not change playback state, repeat mode, or shuffle. Invalid values are rejected and leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"morning",
"news",
"music"
],
"examples": [
"morning",
"news",
"music"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"current_track"
],
"semantics": {
"kind": "set",
"property": "current_track",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_playback_state",
"description": "Return the current playback state without changing application state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"playback_state"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "playback_state",
"response_key": "playback_state",
"preconditions": {}
}
},
{
"function": "get_repeat_mode",
"description": "Return the current repeat mode without changing playback or configuration.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"repeat_mode"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "repeat_mode",
"response_key": "repeat_mode",
"preconditions": {}
}
},
{
"function": "set_repeat_mode",
"description": "Set repeat mode to none, one, or all without changing the selected track, playback state, or shuffle. Invalid values are rejected and leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"none",
"one",
"all"
],
"examples": [
"none",
"one",
"all"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"repeat_mode"
],
"semantics": {
"kind": "set",
"property": "repeat_mode",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_shuffle",
"description": "Return whether shuffle is enabled without changing playback or configuration.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"shuffle"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "shuffle",
"response_key": "shuffle",
"preconditions": {}
}
},
{
"function": "set_shuffle",
"description": "Enable or disable shuffle without changing the selected track, playback state, or repeat mode.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "boolean",
"examples": [
true,
false
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"shuffle"
],
"semantics": {
"kind": "set",
"property": "shuffle",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "play",
"description": "Start or resume playback of the selected track by changing playback_state to playing. This action is valid only while stopped or paused. If already playing, it fails and leaves all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"playback_state"
],
"writes": [
"playback_state"
],
"semantics": {
"kind": "update",
"fields": {
"playback_state": {
"value": "playing"
}
},
"preconditions": {
"playback_state": {
"one_of": [
"stopped",
"paused"
]
}
}
}
},
{
"function": "pause",
"description": "Pause active playback by changing playback_state to paused. The selected track, repeat mode, and shuffle setting are preserved. This action fails without changing state unless playback is currently playing.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"playback_state"
],
"writes": [
"playback_state"
],
"semantics": {
"kind": "update",
"fields": {
"playback_state": {
"value": "paused"
}
},
"preconditions": {
"playback_state": "playing"
}
}
},
{
"function": "stop",
"description": "Stop playback by changing only playback_state to stopped. The selected track, repeat mode, and shuffle setting are preserved. The action is idempotent when playback is already stopped.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [],
"writes": [
"playback_state"
],
"semantics": {
"kind": "update",
"fields": {
"playback_state": {
"value": "stopped"
}
},
"preconditions": {}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 7
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_8",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "notifications_1"
}
}
},
"result": {
"call_id": "call_8",
"turn_id": "turn_1",
"sequence": 8,
"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": 8
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_9",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "sound_1"
}
}
},
"result": {
"call_id": "call_9",
"turn_id": "turn_1",
"sequence": 9,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "sound_1",
"tools": [
{
"function": "get_media_volume",
"description": "Return the independent media volume percentage.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"media_volume"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "media_volume",
"response_key": "media_volume",
"preconditions": {}
}
},
{
"function": "set_media_volume",
"description": "Set media volume to a whole percentage from 0 through 100. No other volume stream changes. Invalid values leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"multipleOf": 1,
"examples": [
0,
50,
100
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"media_volume"
],
"semantics": {
"kind": "set",
"property": "media_volume",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_ringtone_volume",
"description": "Return the independent ringtone volume percentage.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"ringtone_volume"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "ringtone_volume",
"response_key": "ringtone_volume",
"preconditions": {}
}
},
{
"function": "set_ringtone_volume",
"description": "Set ringtone volume to a whole percentage from 0 through 100. Notification, media, and alarm volumes remain unchanged. Invalid values leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"multipleOf": 1,
"examples": [
0,
70,
100
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"ringtone_volume"
],
"semantics": {
"kind": "set",
"property": "ringtone_volume",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_notification_volume",
"description": "Return the independent notification volume percentage.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"notification_volume"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "notification_volume",
"response_key": "notification_volume",
"preconditions": {}
}
},
{
"function": "set_notification_volume",
"description": "Set notification volume to a whole percentage from 0 through 100. Ringtone, media, and alarm volumes remain unchanged. Invalid values leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"multipleOf": 1,
"examples": [
0,
70,
100
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"notification_volume"
],
"semantics": {
"kind": "set",
"property": "notification_volume",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_alarm_volume",
"description": "Return the independent alarm volume percentage.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"alarm_volume"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "alarm_volume",
"response_key": "alarm_volume",
"preconditions": {}
}
},
{
"function": "set_alarm_volume",
"description": "Set alarm volume to a whole percentage from 0 through 100. Media, ringtone, and notification volumes remain unchanged. Invalid values leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"multipleOf": 1,
"examples": [
0,
80,
100
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"alarm_volume"
],
"semantics": {
"kind": "set",
"property": "alarm_volume",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_ringer_mode",
"description": "Return the current ringer mode without changing stored stream volumes.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"ringer_mode"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "ringer_mode",
"response_key": "ringer_mode",
"preconditions": {}
}
},
{
"function": "set_ringer_mode",
"description": "Set ringer mode to normal, vibrate, or silent. The operation preserves all stream volumes, sound selections, and the incoming-call vibration preference. Invalid modes leave state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"normal",
"vibrate",
"silent"
],
"examples": [
"normal",
"vibrate",
"silent"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"ringer_mode"
],
"semantics": {
"kind": "set",
"property": "ringer_mode",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_incoming_call_vibration",
"description": "Return the current incoming-call vibration preference.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"incoming_call_vibration"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "incoming_call_vibration",
"response_key": "incoming_call_vibration",
"preconditions": {}
}
},
{
"function": "set_incoming_call_vibration",
"description": "Set the incoming-call vibration preference to never, vibrate_mode, or always. This does not change ringer mode or any volume. Invalid values leave state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"never",
"vibrate_mode",
"always"
],
"examples": [
"never",
"vibrate_mode",
"always"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"incoming_call_vibration"
],
"semantics": {
"kind": "set",
"property": "incoming_call_vibration",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_ringtone",
"description": "Return the selected local synthetic ringtone resource.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"ringtone"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "ringtone",
"response_key": "ringtone",
"preconditions": {}
}
},
{
"function": "set_ringtone",
"description": "Select classic_ring, digital_ring, gentle_ring, or none as the local synthetic ringtone. The operation does not change ringtone volume or ringer mode. Invalid values leave state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"classic_ring",
"digital_ring",
"gentle_ring",
"none"
],
"examples": [
"classic_ring",
"gentle_ring",
"none"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"ringtone"
],
"semantics": {
"kind": "set",
"property": "ringtone",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_notification_sound",
"description": "Return the selected local synthetic notification-sound resource.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"notification_sound"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "notification_sound",
"response_key": "notification_sound",
"preconditions": {}
}
},
{
"function": "set_notification_sound",
"description": "Select chime, pop, soft_bell, or none as the local synthetic notification sound. The operation does not change notification volume. Invalid values leave state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"chime",
"pop",
"soft_bell",
"none"
],
"examples": [
"chime",
"soft_bell",
"none"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"notification_sound"
],
"semantics": {
"kind": "set",
"property": "notification_sound",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_available_output",
"description": "Return one currently connected, available audio-output record by route ID. Unknown or unavailable IDs are rejected without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"output_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"examples": [
"speaker",
"earpiece"
]
}
},
"required": [
"output_id"
],
"additionalProperties": false
},
"reads": [
"available_outputs"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "available_outputs",
"id_parameter": "output_id",
"response_key": "output",
"preconditions": {
"available_outputs": {
"contains_key": {
"parameter": "output_id"
}
}
}
}
},
{
"function": "get_output_route",
"description": "Return the ID of the currently selected audio output route.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"output_route"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "output_route",
"response_key": "output_route",
"preconditions": {}
}
},
{
"function": "select_output_route",
"description": "Select an output route that is present in available_outputs. This resolves routing immediately but does not connect or disconnect any Bluetooth or other external device. Unknown or unavailable IDs leave the current route unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"output_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"examples": [
"speaker",
"earpiece"
]
}
},
"required": [
"output_id"
],
"additionalProperties": false
},
"reads": [
"available_outputs"
],
"writes": [
"output_route"
],
"semantics": {
"kind": "update",
"fields": {
"output_route": {
"parameter": "output_id"
}
},
"preconditions": {
"available_outputs": {
"contains_key": {
"parameter": "output_id"
}
}
}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 9
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_10",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "system_settings_1"
}
}
},
"result": {
"call_id": "call_10",
"turn_id": "turn_1",
"sequence": 10,
"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": 10
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_11",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "timer_1"
}
}
},
"result": {
"call_id": "call_11",
"turn_id": "turn_1",
"sequence": 11,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "timer_1",
"tools": [
{
"function": "get_duration_minutes",
"description": "Return the configured countdown duration in whole minutes.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"duration_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "duration_minutes",
"response_key": "duration_minutes",
"preconditions": {}
}
},
{
"function": "set_duration_minutes",
"description": "Set the countdown duration to a whole number from 1 through 60 minutes. The duration may be changed only while the timer is idle or completed. Invalid values or process states leave all properties unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"duration_minutes": {
"type": "integer",
"minimum": 1,
"maximum": 60,
"multipleOf": 1,
"examples": [
1,
3,
30,
60
]
}
},
"required": [
"duration_minutes"
],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [
"duration_minutes"
],
"semantics": {
"kind": "set",
"property": "duration_minutes",
"parameter": "duration_minutes",
"preconditions": {
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "get_mode",
"description": "Return the selected countdown process mode.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"mode"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "mode",
"response_key": "mode",
"preconditions": {}
}
},
{
"function": "get_status",
"description": "Return the current countdown process status.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "status",
"response_key": "status",
"preconditions": {}
}
},
{
"function": "get_phase",
"description": "Return the current countdown phase.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"phase"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "phase",
"response_key": "phase",
"preconditions": {}
}
},
{
"function": "get_remaining_minutes",
"description": "Return the whole number of minutes remaining in the countdown.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"remaining_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "remaining_minutes",
"response_key": "remaining_minutes",
"preconditions": {}
}
},
{
"function": "get_started_at_minute",
"description": "Return the elapsed world minute used as the monotonic origin for the current countdown progress.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"started_at_minute"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "started_at_minute",
"response_key": "started_at_minute",
"preconditions": {}
}
},
{
"function": "get_progress_minutes",
"description": "Return the whole number of minutes elapsed in the current countdown.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"progress_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "progress_minutes",
"response_key": "progress_minutes",
"preconditions": {}
}
},
{
"function": "start",
"description": "Start a new countdown from idle or completed state. Starting resets progress to zero, initializes remaining time from the configured duration, and enters the countdown phase. Calls in other states fail without changing any property.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"countdown"
],
"examples": [
"countdown"
]
}
},
"required": [
"mode"
],
"additionalProperties": false
},
"reads": [
"status",
"duration_minutes"
],
"writes": [
"mode",
"status",
"phase",
"remaining_minutes",
"started_at_minute",
"progress_minutes"
],
"semantics": {
"kind": "process_start",
"mode_parameter": "mode",
"preconditions": {
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "pause",
"description": "Pause a running countdown while preserving its elapsed progress and remaining time. The call fails without changing state unless the timer is running.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [
"status"
],
"semantics": {
"kind": "process_pause",
"preconditions": {
"status": "running"
}
}
},
{
"function": "resume",
"description": "Resume a paused countdown without resetting its elapsed progress or remaining time. The call fails without changing state unless the timer is paused.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status",
"progress_minutes"
],
"writes": [
"status",
"started_at_minute"
],
"semantics": {
"kind": "process_resume",
"preconditions": {
"status": "paused"
}
}
},
{
"function": "cancel",
"description": "Cancel a running, paused, or completed countdown and reset its process state to idle with zero progress and zero remaining minutes. The call fails without changing state when the timer is already idle.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [
"status",
"phase",
"remaining_minutes",
"started_at_minute",
"progress_minutes"
],
"semantics": {
"kind": "update",
"fields": {
"status": {
"value": "idle"
},
"phase": {
"value": "idle"
},
"remaining_minutes": {
"value": 0
},
"started_at_minute": {
"value": 0
},
"progress_minutes": {
"value": 0
}
},
"preconditions": {
"status": {
"one_of": [
"running",
"paused",
"completed"
]
}
}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 11
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_12",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "wi_fi_1"
}
}
},
"result": {
"call_id": "call_12",
"turn_id": "turn_1",
"sequence": 12,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "wi_fi_1",
"tools": [
{
"function": "get_enabled",
"description": "Return whether Wi-Fi is currently enabled without changing any state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"enabled"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "enabled",
"response_key": "enabled",
"preconditions": {}
}
},
{
"function": "set_enabled",
"description": "Enable or disable Wi-Fi. Disabling immediately sets connected_network_id to an empty string while preserving every saved network. Enabling preserves saved networks and does not automatically reconnect. Invalid arguments leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "The desired Wi-Fi enabled state.",
"examples": [
true,
false
]
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"enabled",
"connected_network_id"
],
"semantics": {
"kind": "set",
"property": "enabled",
"parameter": "enabled",
"preconditions": {}
}
},
{
"function": "get_saved_networks",
"description": "Return all saved network records keyed by their stable network IDs without changing any state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"saved_networks"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "saved_networks",
"response_key": "saved_networks",
"preconditions": {}
}
},
{
"function": "get_connected_network_id",
"description": "Return the ID of the currently connected saved network, or an empty string when Wi-Fi is disconnected.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"connected_network_id"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "connected_network_id",
"response_key": "connected_network_id",
"preconditions": {}
}
},
{
"function": "connect",
"description": "Connect to a saved network by ID. Wi-Fi must be enabled and network_id must identify an existing record in saved_networks. A successful call replaces any current connection with the selected network. No real network access or internet availability is implied. Invalid input or an unmet precondition leaves state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"network_id": {
"type": "string",
"description": "The stable ID of an existing saved network.",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"examples": [
"Home",
"Office"
]
}
},
"required": [
"network_id"
],
"additionalProperties": false
},
"reads": [
"enabled",
"saved_networks"
],
"writes": [
"connected_network_id"
],
"semantics": {
"kind": "update",
"fields": {
"connected_network_id": {
"parameter": "network_id"
}
},
"preconditions": {
"enabled": true,
"saved_networks": {
"contains_key": {
"parameter": "network_id"
}
}
}
}
},
{
"function": "disconnect",
"description": "Disconnect Wi-Fi by setting connected_network_id to an empty string. Saved networks and the enabled setting are preserved. The operation is idempotent when already disconnected.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [],
"writes": [
"connected_network_id"
],
"semantics": {
"kind": "update",
"fields": {
"connected_network_id": {
"value": ""
}
},
"preconditions": {}
}
},
{
"function": "forget_network",
"description": "Forget an existing saved network by ID. Only the selected record is removed and all unrelated records are preserved. If the forgotten network is currently connected, connected_network_id is immediately cleared; otherwise the current connection is preserved. An unknown ID or invalid input leaves all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"network_id": {
"type": "string",
"description": "The stable ID of the saved network to forget.",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"examples": [
"Home",
"Office"
]
}
},
"required": [
"network_id"
],
"additionalProperties": false
},
"reads": [
"saved_networks",
"connected_network_id"
],
"writes": [
"saved_networks",
"connected_network_id"
],
"semantics": {
"kind": "collection_delete",
"property": "saved_networks",
"id_parameter": "network_id",
"preconditions": {
"saved_networks": {
"contains_key": {
"parameter": "network_id"
}
}
}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 12
}
},
{
"kind": "turn_boundary",
"boundary": {
"turn_id": "turn_1",
"apply_after_turn": true
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_13",
"turn_id": "turn_2",
"command": {
"target": "system_settings_1",
"function": "get_role_candidates",
"parameters": {
"role_id": "maps"
}
}
},
"result": {
"call_id": "call_13",
"turn_id": "turn_2",
"sequence": 13,
"status": "success",
"code": "[PASS]",
"data": {
"role_candidates": {
"applications": [
"maps_standard",
"maps_offline"
]
}
},
"mutation_committed": false,
"audit_sequence": 14
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_14",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": {
"applications": [
"maps_standard",
"maps_offline"
]
}
}
}
},
"result": {
"call_id": "call_14",
"turn_id": "turn_2",
"sequence": 14,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 0
},
"mutation_committed": false,
"audit_sequence": 15
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_15",
"turn_id": "turn_2",
"command": {
"target": "media_player_1",
"function": "get_playback_state",
"parameters": {}
}
},
"result": {
"call_id": "call_15",
"turn_id": "turn_2",
"sequence": 15,
"status": "success",
"code": "[PASS]",
"data": {
"playback_state": "stopped"
},
"mutation_committed": false,
"audit_sequence": 16
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_16",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": "stopped"
}
}
},
"result": {
"call_id": "call_16",
"turn_id": "turn_2",
"sequence": 16,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 1
},
"mutation_committed": false,
"audit_sequence": 17
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_17",
"turn_id": "turn_2",
"command": {
"target": "timer_1",
"function": "cancel",
"parameters": {}
}
},
"result": {
"call_id": "call_17",
"turn_id": "turn_2",
"sequence": 17,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 18
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_18",
"turn_id": "turn_2",
"command": {
"target": "timer_1",
"function": "start",
"parameters": {
"mode": "countdown"
}
}
},
"result": {
"call_id": "call_18",
"turn_id": "turn_2",
"sequence": 18,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 19
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_19",
"turn_id": "turn_2",
"command": {
"target": "display_1",
"function": "set_brightness",
"parameters": {
"value": 31
}
}
},
"result": {
"call_id": "call_19",
"turn_id": "turn_2",
"sequence": 19,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 20
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_20",
"turn_id": "turn_2",
"command": {
"target": "focus_1",
"function": "get_effective_policy",
"parameters": {}
}
},
"result": {
"call_id": "call_20",
"turn_id": "turn_2",
"sequence": 20,
"status": "success",
"code": "[PASS]",
"data": {
"effective_policy": {}
},
"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": {}
}
}
},
"result": {
"call_id": "call_21",
"turn_id": "turn_2",
"sequence": 21,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 2
},
"mutation_committed": false,
"audit_sequence": 22
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_22",
"turn_id": "turn_2",
"command": {
"target": "notifications_1",
"function": "get_notification",
"parameters": {
"notification_id": "calendar_001"
}
}
},
"result": {
"call_id": "call_22",
"turn_id": "turn_2",
"sequence": 22,
"status": "success",
"code": "[PASS]",
"data": {
"notification": {
"app_id": "Calendar",
"channel_id": "calendar_reminders",
"title": "Calendar reminder",
"content": "Team meeting in 10 minutes",
"dismissible": false
}
},
"mutation_committed": false,
"audit_sequence": 23
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_23",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": {
"app_id": "Calendar",
"channel_id": "calendar_reminders",
"title": "Calendar reminder",
"content": "Team meeting in 10 minutes",
"dismissible": false
}
}
}
},
"result": {
"call_id": "call_23",
"turn_id": "turn_2",
"sequence": 23,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 3
},
"mutation_committed": false,
"audit_sequence": 24
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_24",
"turn_id": "turn_2",
"command": {
"target": "sound_1",
"function": "set_notification_volume",
"parameters": {
"value": 79
}
}
},
"result": {
"call_id": "call_24",
"turn_id": "turn_2",
"sequence": 24,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 25
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_25",
"turn_id": "turn_2",
"command": {
"target": "accessibility_1",
"function": "get_reduced_motion",
"parameters": {}
}
},
"result": {
"call_id": "call_25",
"turn_id": "turn_2",
"sequence": 25,
"status": "success",
"code": "[PASS]",
"data": {
"reduced_motion": true
},
"mutation_committed": false,
"audit_sequence": 26
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_26",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": true
}
}
},
"result": {
"call_id": "call_26",
"turn_id": "turn_2",
"sequence": 26,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 4
},
"mutation_committed": false,
"audit_sequence": 27
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_27",
"turn_id": "turn_2",
"command": {
"target": "wi_fi_1",
"function": "disconnect",
"parameters": {}
}
},
"result": {
"call_id": "call_27",
"turn_id": "turn_2",
"sequence": 27,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 28
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_28",
"turn_id": "turn_2",
"command": {
"target": "location_1",
"function": "set_enabled",
"parameters": {
"value": false
}
}
},
"result": {
"call_id": "call_28",
"turn_id": "turn_2",
"sequence": 28,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 29
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_29",
"turn_id": "turn_2",
"command": {
"target": "display_1",
"function": "set_dark_mode",
"parameters": {
"value": false
}
}
},
"result": {
"call_id": "call_29",
"turn_id": "turn_2",
"sequence": 29,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 30
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_30",
"turn_id": "turn_2",
"command": {
"target": "connectivity_1",
"function": "set_data_roaming_enabled",
"parameters": {
"value": true
}
}
},
"result": {
"call_id": "call_30",
"turn_id": "turn_2",
"sequence": 30,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 31
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_31",
"turn_id": "turn_2",
"command": {
"target": "hotspot_1",
"function": "get_operating_state",
"parameters": {}
}
},
"result": {
"call_id": "call_31",
"turn_id": "turn_2",
"sequence": 31,
"status": "success",
"code": "[PASS]",
"data": {
"operating_state": "stopped"
},
"mutation_committed": false,
"audit_sequence": 32
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_32",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": "stopped"
}
}
},
"result": {
"call_id": "call_32",
"turn_id": "turn_2",
"sequence": 32,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 5
},
"mutation_committed": false,
"audit_sequence": 33
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_33",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "finish",
"parameters": {}
}
},
"result": {
"call_id": "call_33",
"turn_id": "turn_2",
"sequence": 33,
"status": "success",
"code": "[PASS]",
"data": {
"finished": true
},
"mutation_committed": false,
"audit_sequence": 34
}
},
{
"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_ce43f3e4_reference",
"world_id": "task_ce43f3e4",
"task_id": "task_ce43f3e4",
"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",