Rename or move a file
move_fileRenames or moves a file or folder within a Minecraft server using paths relative to the server root, so you can reorganize or relocate resources.
Instructions
Renames or moves a file or folder. Both paths are relative to the server root.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | New path, relative to the server's root directory, such as "server.properties" or "plugins/LuckPerms/config.yml". | |
| from | Yes | Current 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. |