Skip to main content
Write one or more files to a sandbox

Tool details

FieldValue
Namewrite_sandbox_files
GroupSandbox

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Sandbox session ID"
    },
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "description": "Absolute path for the file inside the sandbox"
          },
          "content": {
            "type": "string",
            "description": "File content"
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false,
        "description": "One file item supplied to the tool."
      },
      "description": "Files to write"
    }
  },
  "required": [
    "id",
    "files"
  ],
  "additionalProperties": false,
  "description": "Input schema for the write_sandbox_files tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

This tool does not publish an output schema.