command/shell

Model type — v2026.02.09.1

Details

Type
command/shell
Normalized
command/shell
Version
v2026.02.09.1
Methods
1
Resources
1
Files
1
Definitions
1

Methods (1)

execute

Execute the shell command and capture stdout, stderr, and exit code

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "run": {
      "type": "string",
      "minLength": 1,
      "description": "The shell command to execute"
    },
    "workingDir": {
      "description": "Working directory for command execution",
      "type": "string"
    },
    "timeout": {
      "description": "Timeout in milliseconds",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "env": {
      "description": "Environment variables",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "run"
  ],
  "additionalProperties": false
}

Resources (1)

result

Shell command execution result (exit code, timing, command)

Lifetime
infinite
Garbage Collection
10

Files (1)

log

Shell command output (stdout and stderr)

Content Type
text/plain
Lifetime
infinite
Garbage Collection
10
Streaming
Yes

Definitions (1)

NameVersionTagsID
tailscaleStatusv16590d202