upload_file
ActiveTool of BorealHost
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"
}
}
}Parent server
BorealHost
https://github.com/alainsvrd/borealhost-mcp
1/7 registries