Skip to main content
Read the contents of a file from a sandbox

Tool details

FieldValue
Nameread_sandbox_file
GroupSandbox

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Sandbox session ID returned by create_sandbox_session"
    },
    "path": {
      "type": "string",
      "description": "Absolute path to the file inside the sandbox"
    }
  },
  "required": [
    "id",
    "path"
  ],
  "additionalProperties": false,
  "description": "Input schema for the read_sandbox_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "The path associated with this tool result."
    },
    "content": {
      "type": "string",
      "description": "Source content or body returned by the tool."
    }
  },
  "required": [
    "path",
    "content"
  ],
  "additionalProperties": true,
  "description": "Structured result returned by the read_sandbox_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}