Read sandbox file

veryfront__read_sandbox_file

Requires project.sandboxes.manage.

Access

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

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
sandbox_idstringYesSandbox UUID, as returned by createSandbox. Format: uuid.
pathstringYesAbsolute path to the file inside the sandbox Minimum length: 1.

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__read_sandbox_file",
    "arguments": {
      "sandbox_id": "00000000-0000-4000-8000-000000000000",
      "path": "example"
    }
  }
}

Result

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

FieldTypeRequiredDescription and constraints
pathstringYes
contentstringYesSource content or body returned by the tool.
encodingstringYesValue: "utf-8".

Full schemas

json
{
  "type": "object",
  "properties": {
    "sandbox_id": {
      "type": "string",
      "format": "uuid",
      "description": "Sandbox UUID, as returned by createSandbox."
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "description": "Absolute path to the file inside the sandbox"
    }
  },
  "required": [
    "sandbox_id",
    "path"
  ],
  "additionalProperties": false,
  "description": "Arguments for the read_sandbox_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string"
    },
    "content": {
      "type": "string",
      "description": "Source content or body returned by the tool."
    },
    "encoding": {
      "type": "string",
      "const": "utf-8"
    }
  },
  "required": [
    "path",
    "content",
    "encoding"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the read_sandbox_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}