upload_file
Upload a local binary or text file from disk to a Pterodactyl server directory using a signed upload URL, with optional destination folder and filename override.
Instructions
Upload a local file (binary or text) from disk to a server directory using Pterodactyl's two-step signed upload URL.
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_id": "<server_id>",
"local_path": "<local_path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Destination directory inside container (default '/') | |
| server_id | Yes | Short server identifier | |
| local_path | Yes | Absolute or relative path to the local file to upload | |
| remote_filename | No | Optional filename override on the server (defaults to local basename) |