upload_file_base64
Upload binary or text files to cPanel by providing a destination path and Base64-encoded content; useful for images, archives, and PDFs.
Instructions
Upload a binary or text file using Base64 encoding (ideal for images, archives, PDFs)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"base64_content": "<base64_content>"
},
"name": "upload_file_base64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Destination file path including filename | |
| base64_content | Yes | File data encoded in Base64 |