Download data/test/Phone/task_058f1d83/reference_trajectory.json from X-LANCE/SynthDCB: direct link, hf CLI and curl.
- Browser
- Download file 116 kB
-
https://huggingface.co/datasets/X-LANCE/SynthDCB/resolve/main/data/test/Phone/task_058f1d83/reference_trajectory.json
- Command line
-
hf download hf://datasets/X-LANCE/SynthDCB/data/test/Phone/task_058f1d83/reference_trajectory.json
-
curl -L -o reference_trajectory.json https://huggingface.co/datasets/X-LANCE/SynthDCB/resolve/main/data/test/Phone/task_058f1d83/reference_trajectory.json
116 kB
{
"trajectory_id": "task_058f1d83_reference",
"world_id": "task_058f1d83",
"task_id": "task_058f1d83",
"source": "ground_truth",
"records": [
{
"kind": "tool_exchange",
"call": {
"call_id": "call_1",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "alarm_1"
}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "alarm_1",
"tools": [
{
"function": "add_alarm",
"description": "Add an alarm with the supplied hour, minute, label, weekdays, and optional enabled state. The system generates and returns a new stable string ID without changing existing records. Hour must be 0 through 23, minute must be 0 through 59, the label must contain 1 through 80 characters, and weekdays must contain no duplicate values outside 1 through 7. An empty weekdays list represents a one-time configuration. Invalid arguments leave the collection unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"hour": {
"type": "integer",
"minimum": 0,
"maximum": 23,
"examples": [
7,
12,
21
]
},
"minute": {
"type": "integer",
"minimum": 0,
"maximum": 59,
"examples": [
0,
15,
45
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"examples": [
"Morning",
"School pickup",
"Medication"
]
},
"weekdays": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
},
"examples": [
[],
[
1,
2,
3,
4,
5
],
[
6,
7
]
]
},
"enabled": {
"type": "boolean",
"default": false,
"examples": [
true,
false
]
}
},
"required": [
"hour",
"minute",
"label",
"weekdays"
],
"additionalProperties": false
},
"reads": [
"alarms"
],
"writes": [
"alarms"
],
"semantics": {
"kind": "collection_add",
"property": "alarms",
"fields": {
"hour": {
"parameter": "hour"
},
"minute": {
"parameter": "minute"
},
"label": {
"parameter": "label"
},
"weekdays": {
"parameter": "weekdays"
},
"enabled": {
"parameter": "enabled"
}
},
"response_key": "alarm_id",
"preconditions": {}
}
},
{
"function": "get_alarm",
"description": "Return the complete alarm record identified by alarm_id without changing state. The operation fails if the alarm ID does not exist.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"alarm_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$",
"examples": [
"alarm_1",
"alarm_2"
]
}
},
"required": [
"alarm_id"
],
"additionalProperties": false
},
"reads": [
"alarms"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "alarms",
"id_parameter": "alarm_id",
"response_key": "alarm",
"preconditions": {
"alarms": {
"contains_key": {
"parameter": "alarm_id"
}
}
}
}
},
{
"function": "update_alarm",
"description": "Partially update an existing alarm. At least one of hour, minute, label, or weekdays must be supplied in addition to alarm_id. Omitted fields retain their previous values, enabled state is unchanged, and unrelated records are preserved. An empty weekdays list represents a one-time configuration. An unknown ID or any invalid supplied value leaves the collection unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"minProperties": 2,
"properties": {
"alarm_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$",
"examples": [
"alarm_1",
"alarm_2"
]
},
"hour": {
"type": "integer",
"minimum": 0,
"maximum": 23,
"examples": [
6,
14,
22
]
},
"minute": {
"type": "integer",
"minimum": 0,
"maximum": 59,
"examples": [
0,
30,
55
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"examples": [
"Early meeting",
"Medication"
]
},
"weekdays": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
},
"examples": [
[],
[
1,
3,
5
]
]
}
},
"required": [
"alarm_id"
],
"additionalProperties": false
},
"reads": [
"alarms"
],
"writes": [
"alarms"
],
"semantics": {
"kind": "collection_update",
"property": "alarms",
"id_parameter": "alarm_id",
"fields": {
"hour": {
"parameter": "hour"
},
"minute": {
"parameter": "minute"
},
"label": {
"parameter": "label"
},
"weekdays": {
"parameter": "weekdays"
}
},
"response_key": "updated_alarm",
"preconditions": {
"alarms": {
"contains_key": {
"parameter": "alarm_id"
}
}
}
}
},
{
"function": "remove_alarm",
"description": "Delete the alarm identified by alarm_id while preserving every unrelated alarm record. An unknown ID causes the operation to fail without changing the collection.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"alarm_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$",
"examples": [
"alarm_1",
"alarm_2"
]
}
},
"required": [
"alarm_id"
],
"additionalProperties": false
},
"reads": [
"alarms"
],
"writes": [
"alarms"
],
"semantics": {
"kind": "collection_delete",
"property": "alarms",
"id_parameter": "alarm_id",
"response_key": "removed_alarm_id",
"preconditions": {
"alarms": {
"contains_key": {
"parameter": "alarm_id"
}
}
}
}
},
{
"function": "enable_alarm",
"description": "Set enabled to true for the alarm identified by alarm_id. All other fields and unrelated records remain unchanged. An unknown ID leaves the collection unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"alarm_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$",
"examples": [
"alarm_1",
"alarm_2"
]
}
},
"required": [
"alarm_id"
],
"additionalProperties": false
},
"reads": [
"alarms"
],
"writes": [
"alarms"
],
"semantics": {
"kind": "collection_update",
"property": "alarms",
"id_parameter": "alarm_id",
"fields": {
"enabled": {
"value": true
}
},
"response_key": "enabled_alarm",
"preconditions": {
"alarms": {
"contains_key": {
"parameter": "alarm_id"
}
}
}
}
},
{
"function": "disable_alarm",
"description": "Set enabled to false for the alarm identified by alarm_id. All other fields and unrelated records remain unchanged. An unknown ID leaves the collection unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"alarm_id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_-]+$",
"examples": [
"alarm_1",
"alarm_2"
]
}
},
"required": [
"alarm_id"
],
"additionalProperties": false
},
"reads": [
"alarms"
],
"writes": [
"alarms"
],
"semantics": {
"kind": "collection_update",
"property": "alarms",
"id_parameter": "alarm_id",
"fields": {
"enabled": {
"value": false
}
},
"response_key": "disabled_alarm",
"preconditions": {
"alarms": {
"contains_key": {
"parameter": "alarm_id"
}
}
}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 1
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_2",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "battery_1"
}
}
},
"result": {
"call_id": "call_2",
"turn_id": "turn_1",
"sequence": 2,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "battery_1",
"tools": [
{
"function": "get_battery_percent",
"description": "Return the current read-only battery percentage without changing battery feedback or settings.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"battery_percent"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "battery_percent",
"response_key": "battery_percent",
"preconditions": {}
}
},
{
"function": "get_charging_state",
"description": "Return the current read-only charging result without changing any battery state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"charging_state"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "charging_state",
"response_key": "charging_state",
"preconditions": {}
}
},
{
"function": "get_external_power_connected",
"description": "Return whether an external power supply is currently connected. This read-only feedback cannot be changed with Battery tools.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"external_power_connected"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "external_power_connected",
"response_key": "external_power_connected",
"preconditions": {}
}
},
{
"function": "get_battery_temperature_celsius",
"description": "Return the current read-only simulated battery temperature in degrees Celsius without changing it.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"battery_temperature_celsius"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "battery_temperature_celsius",
"response_key": "battery_temperature_celsius",
"preconditions": {}
}
},
{
"function": "get_power_saving_mode",
"description": "Return whether power-saving mode is requested. This may differ from its effective state while external power is connected.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power_saving_mode"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "power_saving_mode",
"response_key": "power_saving_mode",
"preconditions": {}
}
},
{
"function": "set_power_saving_mode",
"description": "Enable or disable the power-saving request. The request is accepted on or off external power, but it is effective only while external power is disconnected. After the request changes, the effective state is recomputed from the request and external power condition. This operation does not immediately change battery percentage, temperature, or charging state. Invalid input is rejected and leaves state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "boolean",
"description": "Desired power-saving request.",
"examples": [
true,
false
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"external_power_connected",
"power_saving_mode"
],
"writes": [
"power_saving_mode",
"power_saving_effective"
],
"semantics": {
"kind": "set",
"property": "power_saving_mode",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_power_saving_effective",
"description": "Return whether power-saving mode is currently effective under the fixed supply policy. It is effective exactly when requested and external power is disconnected.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power_saving_effective"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "power_saving_effective",
"response_key": "power_saving_effective",
"preconditions": {}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 2
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_3",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "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": "flashlight_1"
}
}
},
"result": {
"call_id": "call_4",
"turn_id": "turn_1",
"sequence": 4,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "flashlight_1",
"tools": [
{
"function": "get_light_on",
"description": "Return whether the flashlight is actually emitting light without changing its state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"light_on"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "light_on",
"response_key": "light_on",
"preconditions": {}
}
},
{
"function": "get_available",
"description": "Return whether the flashlight hardware resource is currently available.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"available"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "available",
"response_key": "available",
"preconditions": {}
}
},
{
"function": "get_authorized",
"description": "Return whether the system currently authorizes flashlight use.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"authorized"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "authorized",
"response_key": "authorized",
"preconditions": {}
}
},
{
"function": "get_brightness_percent",
"description": "Return the fixed flashlight brightness percentage. This base class does not support brightness adjustment.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"brightness_percent"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "brightness_percent",
"response_key": "brightness_percent",
"preconditions": {}
}
},
{
"function": "turn_on",
"description": "Turn on the flashlight at its fixed brightness. The operation succeeds only when the light resource is available and system authorization is granted. A failed precondition leaves the actual light state unchanged and is not reported as successful.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"available",
"authorized"
],
"writes": [
"light_on"
],
"semantics": {
"kind": "update",
"fields": {
"light_on": {
"value": true
}
},
"preconditions": {
"available": true,
"authorized": true
}
}
},
{
"function": "turn_off",
"description": "Turn off the flashlight by setting its actual light state to false. The operation is idempotent when the light is already off and does not require the resource to remain available.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [],
"writes": [
"light_on"
],
"semantics": {
"kind": "update",
"fields": {
"light_on": {
"value": false
}
},
"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": "rotation_1"
}
}
},
"result": {
"call_id": "call_6",
"turn_id": "turn_1",
"sequence": 6,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "rotation_1",
"tools": [
{
"function": "get_auto_rotate",
"description": "Return whether automatic screen rotation is enabled without changing any setting or feedback.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"auto_rotate"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "auto_rotate",
"response_key": "auto_rotate",
"preconditions": {}
}
},
{
"function": "set_auto_rotate",
"description": "Enable or disable automatic screen rotation. The existing orientation lock preference is preserved. This operation does not directly write actual_orientation because foreground application restrictions and external orientation feedback determine when the displayed orientation is resolved.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "boolean",
"description": "The desired automatic rotation state.",
"examples": [
true,
false
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"auto_rotate"
],
"semantics": {
"kind": "set",
"property": "auto_rotate",
"parameter": "value",
"preconditions": {}
}
},
{
"function": "get_orientation_lock",
"description": "Return the preferred orientation lock. The preference is retained while automatic rotation is enabled but is used only when automatic rotation is disabled and the foreground application does not impose an orientation restriction.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"orientation_lock"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "orientation_lock",
"response_key": "orientation_lock",
"preconditions": {}
}
},
{
"function": "set_orientation_lock",
"description": "Select a supported orientation lock while automatic rotation is disabled. orientation must be an existing key in lockable_orientations. If automatic rotation is enabled or the orientation is unsupported, the operation fails and leaves all state unchanged. A successful preference change does not directly write actual_orientation because a foreground application restriction may prevent an immediate orientation change.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"orientation": {
"type": "string",
"description": "An orientation ID from lockable_orientations.",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 32,
"examples": [
"portrait",
"landscape"
]
}
},
"required": [
"orientation"
],
"additionalProperties": false
},
"reads": [
"auto_rotate",
"lockable_orientations"
],
"writes": [
"orientation_lock"
],
"semantics": {
"kind": "set",
"property": "orientation_lock",
"parameter": "orientation",
"preconditions": {
"auto_rotate": false,
"lockable_orientations": {
"contains_key": {
"parameter": "orientation"
}
}
}
}
},
{
"function": "get_lockable_orientations",
"description": "Return the fixed read-only dictionary of supported orientation-lock capabilities and their IDs.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"lockable_orientations"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "lockable_orientations",
"response_key": "lockable_orientations",
"preconditions": {}
}
},
{
"function": "get_actual_orientation",
"description": "Return the read-only current screen orientation. A foreground application restriction to portrait or landscape takes precedence. Without such a restriction, the value follows simulated device pose when automatic rotation is enabled and the selected lock preference when automatic rotation is disabled. This query does not change feedback.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"actual_orientation"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "actual_orientation",
"response_key": "actual_orientation",
"preconditions": {}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 6
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_7",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "stopwatch_1"
}
}
},
"result": {
"call_id": "call_7",
"turn_id": "turn_1",
"sequence": 7,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "stopwatch_1",
"tools": [
{
"function": "get_status",
"description": "Return the current stopwatch status without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "status",
"response_key": "status",
"preconditions": {}
}
},
{
"function": "get_elapsed_minutes",
"description": "Return the total number of whole minutes accumulated by the stopwatch without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"elapsed_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "elapsed_minutes",
"response_key": "elapsed_minutes",
"preconditions": {}
}
},
{
"function": "start",
"description": "Start the stopwatch from idle while preserving its current elapsed-minute value. The operation fails without changing state unless the stopwatch is idle.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [
"status"
],
"semantics": {
"kind": "update",
"fields": {
"status": {
"value": "running"
}
},
"preconditions": {
"status": "idle"
}
}
},
{
"function": "pause",
"description": "Pause a running stopwatch while retaining elapsed time. The operation fails without changing state unless the stopwatch is running.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [
"status"
],
"semantics": {
"kind": "update",
"fields": {
"status": {
"value": "paused"
}
},
"preconditions": {
"status": "running"
}
}
},
{
"function": "resume",
"description": "Resume a paused stopwatch without resetting its elapsed time. The operation fails without changing state unless the stopwatch is paused.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [
"status"
],
"semantics": {
"kind": "update",
"fields": {
"status": {
"value": "running"
}
},
"preconditions": {
"status": "paused"
}
}
},
{
"function": "reset",
"description": "Reset the stopwatch from any state by setting its status to idle and clearing elapsed time to zero.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [],
"writes": [
"status",
"elapsed_minutes"
],
"semantics": {
"kind": "update",
"fields": {
"status": {
"value": "idle"
},
"elapsed_minutes": {
"value": 0
}
},
"preconditions": {}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 7
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_8",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "system_settings_1"
}
}
},
"result": {
"call_id": "call_8",
"turn_id": "turn_1",
"sequence": 8,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "system_settings_1",
"tools": [
{
"function": "get_available_language",
"description": "Return the read-only configuration record for an available language. An unknown language identifier is rejected without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"language": {
"type": "string",
"pattern": "^[A-Za-z]{2,3}-[A-Za-z]{2}$",
"maxLength": 16,
"examples": [
"en-US",
"es-ES",
"zh-CN"
]
}
},
"required": [
"language"
],
"additionalProperties": false
},
"reads": [
"available_languages"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "available_languages",
"id_parameter": "language",
"response_key": "language"
}
},
{
"function": "get_system_language",
"description": "Return the current system language identifier without changing any preference.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"system_language"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "system_language",
"response_key": "system_language",
"preconditions": {}
}
},
{
"function": "set_system_language",
"description": "Set the system language to an identifier in available_languages. Applications whose language preference is system follow the new value without rewriting their records. Unsupported identifiers are rejected and leave all preferences unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"language": {
"type": "string",
"enum": [
"en-US",
"es-ES",
"zh-CN"
],
"examples": [
"en-US",
"es-ES",
"zh-CN"
]
}
},
"required": [
"language"
],
"additionalProperties": false
},
"reads": [
"available_languages"
],
"writes": [
"system_language"
],
"semantics": {
"kind": "set",
"property": "system_language",
"parameter": "language",
"preconditions": {
"available_languages": {
"contains_key": {
"parameter": "language"
}
}
}
}
},
{
"function": "get_application_supported_languages",
"description": "Return the read-only supported-language record for a specified application. An unknown application ID is rejected without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
}
},
"required": [
"application_id"
],
"additionalProperties": false
},
"reads": [
"application_supported_languages"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "application_supported_languages",
"id_parameter": "application_id",
"response_key": "supported_languages"
}
},
{
"function": "get_application_language",
"description": "Return the language preference record for a specified application. A stored value of system means the application follows system_language.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
}
},
"required": [
"application_id"
],
"additionalProperties": false
},
"reads": [
"application_languages"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "application_languages",
"id_parameter": "application_id",
"response_key": "application_language"
}
},
{
"function": "set_application_language",
"description": "Set one existing application's language preference while preserving every other application record. The value system makes the application follow system_language. Any explicit language must appear in that application's application_supported_languages record. Unknown applications or unsupported explicit languages are rejected before any state change.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
},
"language": {
"type": "string",
"enum": [
"system",
"en-US",
"es-ES",
"zh-CN"
],
"examples": [
"system",
"en-US",
"es-ES"
]
}
},
"required": [
"application_id",
"language"
],
"additionalProperties": false
},
"reads": [
"application_supported_languages",
"application_languages"
],
"writes": [
"application_languages"
],
"semantics": {
"kind": "collection_update",
"property": "application_languages",
"id_parameter": "application_id",
"fields": {
"language": {
"parameter": "language"
}
},
"preconditions": {
"application_languages": {
"contains_key": {
"parameter": "application_id"
}
}
}
}
},
{
"function": "get_automatic_time",
"description": "Return whether phone date and time are synchronized to the local simulated time source.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"automatic_time"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "automatic_time",
"response_key": "automatic_time",
"preconditions": {}
}
},
{
"function": "set_automatic_time",
"description": "Enable or disable automatic date and time synchronization. Enabling uses the local simulated time source and resets wall_clock_offset_minutes to zero. Disabling preserves the current offset. No network access occurs, and the world monotonic clock is never changed.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"examples": [
true,
false
]
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"automatic_time",
"wall_clock_offset_minutes"
],
"semantics": {
"kind": "set",
"property": "automatic_time",
"parameter": "enabled",
"preconditions": {}
}
},
{
"function": "get_wall_clock_offset_minutes",
"description": "Return the phone wall-clock adjustment in whole minutes relative to the local simulated time source. This value does not affect monotonic Timer or Stopwatch progress.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"wall_clock_offset_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "wall_clock_offset_minutes",
"response_key": "wall_clock_offset_minutes",
"preconditions": {}
}
},
{
"function": "set_manual_datetime",
"description": "Set the phone's manual date and time as a whole-minute offset from the local simulated time source. The offset must be between -525600 and 525600 minutes, and automatic_time must be disabled. Invalid input or an enabled automatic-time setting leaves all state unchanged. This operation never modifies the world monotonic clock.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"wall_clock_offset_minutes": {
"type": "integer",
"minimum": -525600,
"maximum": 525600,
"multipleOf": 1,
"examples": [
-60,
0,
120,
1440
]
}
},
"required": [
"wall_clock_offset_minutes"
],
"additionalProperties": false
},
"reads": [
"automatic_time"
],
"writes": [
"wall_clock_offset_minutes"
],
"semantics": {
"kind": "set",
"property": "wall_clock_offset_minutes",
"parameter": "wall_clock_offset_minutes",
"preconditions": {
"automatic_time": false
}
}
},
{
"function": "get_automatic_time_zone",
"description": "Return whether the phone time zone follows the local simulated time-zone source.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"automatic_time_zone"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "automatic_time_zone",
"response_key": "automatic_time_zone",
"preconditions": {}
}
},
{
"function": "set_automatic_time_zone",
"description": "Enable or disable automatic time-zone selection. Enabling selects UTC from the deterministic local simulated source. Disabling preserves the current time zone. No network access occurs.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"examples": [
true,
false
]
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"automatic_time_zone",
"time_zone"
],
"semantics": {
"kind": "set",
"property": "automatic_time_zone",
"parameter": "enabled",
"preconditions": {}
}
},
{
"function": "get_time_zone",
"description": "Return the phone time-zone identifier without changing its wall clock or monotonic time.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"time_zone"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "time_zone",
"response_key": "time_zone",
"preconditions": {}
}
},
{
"function": "set_manual_time_zone",
"description": "Set the phone time zone to one of UTC, America/New_York, Europe/Madrid, or Asia/Shanghai. Automatic time-zone selection must be disabled. Invalid identifiers or an enabled automatic-time-zone setting leave all state unchanged. The change affects wall-clock interpretation only and never changes monotonic time.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"time_zone": {
"type": "string",
"enum": [
"UTC",
"America/New_York",
"Europe/Madrid",
"Asia/Shanghai"
],
"examples": [
"UTC",
"America/New_York",
"Europe/Madrid",
"Asia/Shanghai"
]
}
},
"required": [
"time_zone"
],
"additionalProperties": false
},
"reads": [
"automatic_time_zone"
],
"writes": [
"time_zone"
],
"semantics": {
"kind": "set",
"property": "time_zone",
"parameter": "time_zone",
"preconditions": {
"automatic_time_zone": false
}
}
},
{
"function": "get_role_candidates",
"description": "Return the read-only eligible application candidates for a specified default role. An unknown role ID is rejected without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"role_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
}
},
"required": [
"role_id"
],
"additionalProperties": false
},
"reads": [
"role_candidates"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "role_candidates",
"id_parameter": "role_id",
"response_key": "role_candidates"
}
},
{
"function": "get_default_application_role",
"description": "Return the current default application record for a specified role. An unknown role ID is rejected without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"role_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
}
},
"required": [
"role_id"
],
"additionalProperties": false
},
"reads": [
"default_application_roles"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "default_application_roles",
"id_parameter": "role_id",
"response_key": "default_application_role"
}
},
{
"function": "change_default_application_role",
"description": "Resolve a simulated request to change one default application role. The role must exist and application_id must be listed in that role's read-only candidate record. When user_confirmed is true, only that role's application_id is changed and all other role records are preserved. When user_confirmed is false, the request is treated as denied and the original role setting is preserved. Invalid role or candidate input is rejected before any state change.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"role_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
},
"application_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser_beta",
"maps_offline"
]
},
"user_confirmed": {
"type": "boolean",
"description": "The deterministic result of simulated user confirmation.",
"examples": [
true,
false
]
}
},
"required": [
"role_id",
"application_id",
"user_confirmed"
],
"additionalProperties": false
},
"reads": [
"role_candidates",
"default_application_roles"
],
"writes": [
"default_application_roles"
],
"semantics": {
"kind": "custom",
"reason": "The operation conditionally updates one collection record only after validating a candidate in a separate nested configuration record and resolving simulated user confirmation; denial must succeed without changing the collection."
}
}
]
},
"mutation_committed": false,
"audit_sequence": 8
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_9",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "timer_1"
}
}
},
"result": {
"call_id": "call_9",
"turn_id": "turn_1",
"sequence": 9,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "timer_1",
"tools": [
{
"function": "get_duration_minutes",
"description": "Return the configured countdown duration in whole minutes.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"duration_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "duration_minutes",
"response_key": "duration_minutes",
"preconditions": {}
}
},
{
"function": "set_duration_minutes",
"description": "Set the countdown duration to a whole number from 1 through 60 minutes. The duration may be changed only while the timer is idle or completed. Invalid values or process states leave all properties unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"duration_minutes": {
"type": "integer",
"minimum": 1,
"maximum": 60,
"multipleOf": 1,
"examples": [
1,
3,
30,
60
]
}
},
"required": [
"duration_minutes"
],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [
"duration_minutes"
],
"semantics": {
"kind": "set",
"property": "duration_minutes",
"parameter": "duration_minutes",
"preconditions": {
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "get_mode",
"description": "Return the selected countdown process mode.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"mode"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "mode",
"response_key": "mode",
"preconditions": {}
}
},
{
"function": "get_status",
"description": "Return the current countdown process status.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "status",
"response_key": "status",
"preconditions": {}
}
},
{
"function": "get_phase",
"description": "Return the current countdown phase.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"phase"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "phase",
"response_key": "phase",
"preconditions": {}
}
},
{
"function": "get_remaining_minutes",
"description": "Return the whole number of minutes remaining in the countdown.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"remaining_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "remaining_minutes",
"response_key": "remaining_minutes",
"preconditions": {}
}
},
{
"function": "get_started_at_minute",
"description": "Return the elapsed world minute used as the monotonic origin for the current countdown progress.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"started_at_minute"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "started_at_minute",
"response_key": "started_at_minute",
"preconditions": {}
}
},
{
"function": "get_progress_minutes",
"description": "Return the whole number of minutes elapsed in the current countdown.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"progress_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "progress_minutes",
"response_key": "progress_minutes",
"preconditions": {}
}
},
{
"function": "start",
"description": "Start a new countdown from idle or completed state. Starting resets progress to zero, initializes remaining time from the configured duration, and enters the countdown phase. Calls in other states fail without changing any property.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"countdown"
],
"examples": [
"countdown"
]
}
},
"required": [
"mode"
],
"additionalProperties": false
},
"reads": [
"status",
"duration_minutes"
],
"writes": [
"mode",
"status",
"phase",
"remaining_minutes",
"started_at_minute",
"progress_minutes"
],
"semantics": {
"kind": "process_start",
"mode_parameter": "mode",
"preconditions": {
"status": {
"one_of": [
"idle",
"completed"
]
}
}
}
},
{
"function": "pause",
"description": "Pause a running countdown while preserving its elapsed progress and remaining time. The call fails without changing state unless the timer is running.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [
"status"
],
"semantics": {
"kind": "process_pause",
"preconditions": {
"status": "running"
}
}
},
{
"function": "resume",
"description": "Resume a paused countdown without resetting its elapsed progress or remaining time. The call fails without changing state unless the timer is paused.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status",
"progress_minutes"
],
"writes": [
"status",
"started_at_minute"
],
"semantics": {
"kind": "process_resume",
"preconditions": {
"status": "paused"
}
}
},
{
"function": "cancel",
"description": "Cancel a running, paused, or completed countdown and reset its process state to idle with zero progress and zero remaining minutes. The call fails without changing state when the timer is already idle.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"status"
],
"writes": [
"status",
"phase",
"remaining_minutes",
"started_at_minute",
"progress_minutes"
],
"semantics": {
"kind": "update",
"fields": {
"status": {
"value": "idle"
},
"phase": {
"value": "idle"
},
"remaining_minutes": {
"value": 0
},
"started_at_minute": {
"value": 0
},
"progress_minutes": {
"value": 0
}
},
"preconditions": {
"status": {
"one_of": [
"running",
"paused",
"completed"
]
}
}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 9
}
},
{
"kind": "turn_boundary",
"boundary": {
"turn_id": "turn_1",
"apply_after_turn": true
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_10",
"turn_id": "turn_2",
"command": {
"target": "system_settings_1",
"function": "get_automatic_time_zone",
"parameters": {}
}
},
"result": {
"call_id": "call_10",
"turn_id": "turn_2",
"sequence": 10,
"status": "success",
"code": "[PASS]",
"data": {
"automatic_time_zone": true
},
"mutation_committed": false,
"audit_sequence": 11
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_11",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": true
}
}
},
"result": {
"call_id": "call_11",
"turn_id": "turn_2",
"sequence": 11,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 0
},
"mutation_committed": false,
"audit_sequence": 12
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_12",
"turn_id": "turn_2",
"command": {
"target": "flashlight_1",
"function": "get_brightness_percent",
"parameters": {}
}
},
"result": {
"call_id": "call_12",
"turn_id": "turn_2",
"sequence": 12,
"status": "success",
"code": "[PASS]",
"data": {
"brightness_percent": 100
},
"mutation_committed": false,
"audit_sequence": 13
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_13",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": 100
}
}
},
"result": {
"call_id": "call_13",
"turn_id": "turn_2",
"sequence": 13,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 1
},
"mutation_committed": false,
"audit_sequence": 14
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_14",
"turn_id": "turn_2",
"command": {
"target": "rotation_1",
"function": "get_actual_orientation",
"parameters": {}
}
},
"result": {
"call_id": "call_14",
"turn_id": "turn_2",
"sequence": 14,
"status": "success",
"code": "[PASS]",
"data": {
"actual_orientation": "portrait"
},
"mutation_committed": false,
"audit_sequence": 15
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_15",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": "portrait"
}
}
},
"result": {
"call_id": "call_15",
"turn_id": "turn_2",
"sequence": 15,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 2
},
"mutation_committed": false,
"audit_sequence": 16
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_16",
"turn_id": "turn_2",
"command": {
"target": "battery_1",
"function": "get_power_saving_mode",
"parameters": {}
}
},
"result": {
"call_id": "call_16",
"turn_id": "turn_2",
"sequence": 16,
"status": "success",
"code": "[PASS]",
"data": {
"power_saving_mode": false
},
"mutation_committed": false,
"audit_sequence": 17
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_17",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": false
}
}
},
"result": {
"call_id": "call_17",
"turn_id": "turn_2",
"sequence": 17,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 3
},
"mutation_committed": false,
"audit_sequence": 18
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_18",
"turn_id": "turn_2",
"command": {
"target": "hotspot_1",
"function": "get_hotspot_name",
"parameters": {}
}
},
"result": {
"call_id": "call_18",
"turn_id": "turn_2",
"sequence": 18,
"status": "success",
"code": "[PASS]",
"data": {
"hotspot_name": "DCB-Hotspot"
},
"mutation_committed": false,
"audit_sequence": 19
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_19",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": "DCB-Hotspot"
}
}
},
"result": {
"call_id": "call_19",
"turn_id": "turn_2",
"sequence": 19,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 4
},
"mutation_committed": false,
"audit_sequence": 20
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_20",
"turn_id": "turn_2",
"command": {
"target": "alarm_1",
"function": "update_alarm",
"parameters": {
"alarm_id": "alarm_2",
"hour": 14
}
}
},
"result": {
"call_id": "call_20",
"turn_id": "turn_2",
"sequence": 20,
"status": "success",
"code": "[PASS]",
"data": {
"updated_alarm": {
"hour": 14,
"minute": 0,
"label": "Weekend",
"enabled": false,
"weekdays": [
6,
7
]
}
},
"mutation_committed": true,
"audit_sequence": 21
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_21",
"turn_id": "turn_2",
"command": {
"target": "timer_1",
"function": "pause",
"parameters": {}
}
},
"result": {
"call_id": "call_21",
"turn_id": "turn_2",
"sequence": 21,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 22
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_22",
"turn_id": "turn_2",
"command": {
"target": "timer_1",
"function": "resume",
"parameters": {}
}
},
"result": {
"call_id": "call_22",
"turn_id": "turn_2",
"sequence": 22,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 23
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_23",
"turn_id": "turn_2",
"command": {
"target": "display_1",
"function": "set_brightness",
"parameters": {
"value": 20
}
}
},
"result": {
"call_id": "call_23",
"turn_id": "turn_2",
"sequence": 23,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 24
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_24",
"turn_id": "turn_2",
"command": {
"target": "hotspot_1",
"function": "set_credential",
"parameters": {
"credential": "travel-network-2026"
}
}
},
"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": "stopwatch_1",
"function": "start",
"parameters": {}
}
},
"result": {
"call_id": "call_25",
"turn_id": "turn_2",
"sequence": 25,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 26
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_26",
"turn_id": "turn_2",
"command": {
"target": "stopwatch_1",
"function": "pause",
"parameters": {}
}
},
"result": {
"call_id": "call_26",
"turn_id": "turn_2",
"sequence": 26,
"status": "success",
"code": "[PASS]",
"data": {},
"mutation_committed": true,
"audit_sequence": 27
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_27",
"turn_id": "turn_2",
"command": {
"target": "stopwatch_1",
"function": "resume",
"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": "rotation_1",
"function": "set_auto_rotate",
"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": "rotation_1",
"function": "set_orientation_lock",
"parameters": {
"orientation": "landscape"
}
}
},
"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": "battery_1",
"function": "get_power_saving_mode",
"parameters": {}
}
},
"result": {
"call_id": "call_30",
"turn_id": "turn_2",
"sequence": 30,
"status": "success",
"code": "[PASS]",
"data": {
"power_saving_mode": false
},
"mutation_committed": false,
"audit_sequence": 31
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_31",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": false
}
}
},
"result": {
"call_id": "call_31",
"turn_id": "turn_2",
"sequence": 31,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 5
},
"mutation_committed": false,
"audit_sequence": 32
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_32",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "finish",
"parameters": {}
}
},
"result": {
"call_id": "call_32",
"turn_id": "turn_2",
"sequence": 32,
"status": "success",
"code": "[PASS]",
"data": {
"finished": true
},
"mutation_committed": false,
"audit_sequence": 33
}
},
{
"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_058f1d83_reference",
"world_id": "task_058f1d83",
"task_id": "task_058f1d83",
"source": "ground_truth",
"records": [
{
"kind": "tool_exchange",
"call": {
"call_id": "call_1",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "alarm_1"
}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "alarm_1",
"tools": [
{
"function": "add_alarm",
"description": "Add an alarm with the supplied hour, minute, label, weekdays, and optional enabled state. The system generates and returns a new stable string ID without changing existing records. Hour must be 0 through 23, minute must be 0 through 59, the label must contain 1 through 80 characters, and weekdays must contain no duplicate values outside 1 through 7. An empty weekdays list represents a one-time configuration. Invalid arguments leave the collection unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"hour": {
"type": "integer",
"minimum": 0,
"maximum": 23,
"examples": [
7,
12,
21
]
},
"minute": {
"type": "integer",
"minimum": 0,
"maximum": 59,
"examples": [
0,
15,
45
]
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"examples": [
"Morning",
"School pickup",
"Medication"
]
},
"weekdays": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
},
"examples": [
[],
[
1,
2,
3,
4,
5
],
[
6,
7
]
]
},
"enabled": {
"type": "boolean",
"default": false,
"examples": [
true,
false
]
}
},
"required": [
"hour",