Get a download link for a file
get_file_download_linkGenerate a one-time browser download link for a file on a hosted Minecraft server by providing its relative path and optional server identifier.
Instructions
Returns a one-time link to download a file from the server in a browser.
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>"
},
"name": "get_file_download_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, relative to the server's root directory, such as "server.properties" or "plugins/LuckPerms/config.yml". | |
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. |