Upload File to Server
pterodactyl_upload_fileUpload files to a Pterodactyl server via a two-step signed URL, accepting base64 content or a local path to transfer files to a chosen directory.
Instructions
Upload a file to the server using a two-step signed-URL process.
Provide the file content as a base64-encoded string.
Args:
server (string): Server identifier
directory (string): Target directory on the server (default: '/')
file_name (string): Name for the uploaded file
content (string): Base64-encoded file content
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": {
"server": "<server>",
"file_name": "<file_name>"
},
"name": "pterodactyl_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server identifier (short ID like 'abc12345') | |
| content | No | Base64-encoded file content (use file_path instead for large files) | |
| directory | No | Target directory on the server (default: '/') | / |
| file_name | Yes | Name for the uploaded file (e.g. 'server.properties') | |
| file_path | No | Absolute local filesystem path to the file (bypasses base64 truncation) |