addedInput schema / not
Added value: +{
+ "required": [
+ "session_id",
+ "setup"
+ ]
+}
changedInput schema / properties / client_id / description
Previous value: -"Six lowercase letters or digits from list_clients. Required for multi-device tokens, even when only one device is online; optional for single-device tokens."New value: +"Six lowercase letters or digits from list_clients, used to select or filter devices. For multi-device tokens it is required when a specific device must be selected and no existing session_id identifies it. Session-list filtering is optional."
removedInput schema / properties / cwd
Removed value: -{
- "description": "Working directory for this process on the target device.",
- "type": "string"
-}
removedInput schema / properties / env
Removed value: -{
- "additionalProperties": {
- "type": "string"
- },
- "description": "Environment overrides for this command, merged with the client environment. Values must be strings.",
- "type": "object"
-}
addedInput schema / properties / session_id
Added value: +{
+ "description": "Reuse an existing session only. Unknown or closed IDs are rejected. To create a terminal, use setup instead.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / setup
Added value: +{
+ "additionalProperties": false,
+ "description": "Create a new terminal using optional cwd, env and session_id. Cannot be combined with top-level session_id. An existing setup.session_id is rejected. Omit its ID for a generated anonymous terminal with the usual wait-based lifetime.",
+ "properties": {
+ "cwd": {
+ "description": "Initial working directory for the terminal created by setup. Change a reused shell with cd.",
+ "type": "string"
+ },
+ "env": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Initial environment overrides for setup, merged with client environment. Change a reused shell through shell commands.",
+ "type": "object"
+ },
+ "session_id": {
+ "description": "Optional ID for a new persistent terminal; fails if already present. Omit to generate a random ID and follow anonymous terminal lifetime.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": [
+ "null",
+ "object"
+ ]
+}
removedInput schema / properties / timeout_ms
Removed value: -{
- "default": 60000,
- "description": "Remote process execution timeout in milliseconds. 0 disables only the process timeout. This does not extend the MCP caller's or a proxy's request timeout; use session_start and session_read for long-running commands.",
- "maximum": 86400000,
- "minimum": 0,
- "type": "integer"
-}
addedInput schema / properties / wait_ms
Added value: +{
+ "default": 10000,
+ "description": "Completion wait in milliseconds, 0–20000; default 10000. Anonymous terminals close if the command finishes first; otherwise the client retains the same shell under a random session_id. 0 retains immediately. Never stops a running command.",
+ "maximum": 20000,
+ "minimum": 0,
+ "type": [
+ "null",
+ "integer"
+ ]
+}
removedOutput schema / properties / canceled
Removed value: -{
- "description": "True only when the target reported cancellation; a disconnect alone does not confirm cancellation.",
- "type": "boolean"
-}
addedOutput schema / properties / command_id
Added value: +{
+ "description": "Identity of the latest submitted command.",
+ "type": "string"
+}
changedOutput schema / properties / exit_code / description
Previous value: -"Reported process exit code: 0 means success; -1 means execution failed, was interrupted, or the device disconnected before a normal exit report."New value: +"Exit code of the latest completed command, or terminal termination if it ended; 0 is success, -1 denotes execution/connection failure. Absent while a command is running."
changedOutput schema / properties / exit_code / type
Previous value: -"integer"New value: +[
+ "null",
+ "integer"
+]
addedOutput schema / properties / has_more
Added value: +{
+ "description": "Whether more retained output remains after next_cursor. May be true even when done=true; continue reading to drain output.",
+ "type": "boolean"
+}
addedOutput schema / properties / next_cursor
Added value: +{
+ "description": "Byte offset immediately after the returned output. Pass it as cursor for the next session_read, including when done=true and has_more=true.",
+ "type": "integer"
+}
addedOutput schema / properties / output
Added value: +{
+ "description": "Combined terminal output from the requested cursor; may contain echoed input.",
+ "type": "string"
+}
addedOutput schema / properties / session_id
Added value: +{
+ "description": "Session identifier used by session_read and session_control.",
+ "type": "string"
+}
addedOutput schema / properties / status
Added value: +{
+ "description": "running: terminal busy or stop pending; idle: command ended and reusable; closed: session is no longer usable. A disconnection error means remote process termination is unconfirmed.",
+ "enum": [
+ "running",
+ "idle",
+ "closed"
+ ],
+ "type": "string"
+}
removedOutput schema / properties / stderr
Removed value: -{
- "description": "Captured standard error, sharing a 1 MiB combined limit with stdout.",
- "type": "string"
-}
removedOutput schema / properties / stdout
Removed value: -{
- "description": "Captured standard output, sharing a 1 MiB combined limit with stderr.",
- "type": "string"
-}
removedOutput schema / properties / timed_out
Removed value: -{
- "description": "True if the target reported that the process execution timeout elapsed.",
- "type": "boolean"
-}
changedOutput schema / properties / truncated / description
Previous value: -"True if output exceeded the 1 MiB retention limit. Commands discard excess captured output; sessions discard older buffered bytes."New value: +"Present only as true when the requested cursor predates the oldest retained output. The latest 1 MiB is retained; pagination alone does not truncate."
addedOutput schema / properties / truncated / enum
Added value: +[
+ true
+]
changedOutput schema / required
Previous value: -[
- "stdout",
- "stderr",
- "exit_code",
- "timed_out",
- "canceled",
- "truncated"
-]New value: +[
+ "session_id",
+ "command_id",
+ "status",
+ "output",
+ "next_cursor",
+ "has_more"
+]