Run sandbox command

veryfront__run_sandbox_command

Requires project.sandboxes.manage.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
sandbox_idstringYesSandbox UUID, as returned by createSandbox. Format: uuid.
commandstringYesProvide the command. Minimum length: 1.
cwdstringNoProvide the cwd.
timeout_secondsintegerNoProvide the timeout seconds. Default: 30. Maximum: 55.
envobjectNoProvide the env.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__run_sandbox_command",
    "arguments": {
      "sandbox_id": "00000000-0000-4000-8000-000000000000",
      "command": "example"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequired
stdoutstringYes
stderrstringYes
exit_codeintegerYes

Full schemas

json
{
  "type": "object",
  "properties": {
    "sandbox_id": {
      "type": "string",
      "format": "uuid",
      "description": "Sandbox UUID, as returned by createSandbox."
    },
    "command": {
      "type": "string",
      "minLength": 1,
      "description": "Provide the command."
    },
    "cwd": {
      "type": "string",
      "description": "Provide the cwd."
    },
    "timeout_seconds": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 55,
      "description": "Provide the timeout seconds.",
      "default": 30
    },
    "env": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "description": "Additional structured values supplied to the tool."
      },
      "description": "Provide the env."
    }
  },
  "required": [
    "sandbox_id",
    "command"
  ],
  "additionalProperties": false,
  "description": "Arguments for the run_sandbox_command tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "stdout": {
      "type": "string"
    },
    "stderr": {
      "type": "string"
    },
    "exit_code": {
      "type": "integer"
    }
  },
  "required": [
    "stdout",
    "stderr",
    "exit_code"
  ],
  "additionalProperties": false,
  "description": "Result of the command, run to completion.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}