Run sandbox command

Run a sandbox command. Requires project.sandboxes.manage.

Arguments

  • sandbox_idstring · uuidrequired

    Sandbox UUID, as returned by createSandbox.

  • commandstring · min length 1required

    Provide the command.

  • cwdstring

    Provide the cwd.

  • timeout_secondsinteger · max 55 · default 30

    Provide the timeout seconds.

  • envobject

    Provide the env.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__run_sandbox_command",    "arguments": {      "sandbox_id": "00000000-0000-0000-0000-000000000000",      "command": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"stdout\":\"string\",\"stderr\":\"string\",\"exit_code\":0}"      }    ],    "structuredContent": {      "stdout": "string",      "stderr": "string",      "exit_code": 0    }  }}

The tool ran; its output is result.structuredContent.