{ "trajectory_id": "task_07898815_reference", "world_id": "task_07898815", "task_id": "task_07898815", "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": "wi_fi_1" } } }, "result": { "call_id": "call_1", "turn_id": "turn_1", "sequence": 1, "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": 1 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_2", "turn_id": "turn_2", "command": { "target": "wi_fi_1", "function": "set_enabled", "parameters": { "enabled": true } } }, "result": { "call_id": "call_2", "turn_id": "turn_2", "sequence": 2, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 3 } }, { "kind": "tool_exchange", "call": { "call_id": "call_3", "turn_id": "turn_2", "command": { "target": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_3", "turn_id": "turn_2", "sequence": 3, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 4 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }