You're viewing a demo portfolio

Join the waitlist
PRSM

upload_file

Active

Tool of BorealHost

declared in 1.27.0

Upload a base64-encoded file to a site's container. Use this for binary files (images, archives, fonts, etc.). For text files, prefer write_file(). Requires: API key with write scope. Args: slug: Site identifier path: Relative path including filename (e.g. "images/logo.png") content_b64: Base64-encoded file content Returns: {"success": true, "path": "images/logo.png", "size": 45678} Errors: VALIDATION_ERROR: Invalid base64 encoding FORBIDDEN: Protected system path

Parameters schema

{
  "type": "object",
  "title": "upload_fileArguments",
  "required": [
    "slug",
    "path",
    "content_b64"
  ],
  "properties": {
    "path": {
      "type": "string",
      "title": "Path"
    },
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "content_b64": {
      "type": "string",
      "title": "Content B64"
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

BorealHost

https://github.com/alainsvrd/borealhost-mcp

1/7 registries
View full server →