File Upload Prepare
file.upload_prepareGenerate temporary upload tokens for Minecraft server files to specific directories, enabling secure file transfers to MCSManager instances.
Instructions
Create a temporary MCSManager daemon upload token for one instance directory.
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": {
"upload_dir": "<upload_dir>"
},
"name": "file.upload_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| daemonId | No | MCSManager daemon id. Uses MCSM_DEFAULT_DAEMON_ID if omitted. | |
| uuid | No | MCSManager instance UUID. Uses MCSM_DEFAULT_INSTANCE_UUID if omitted. | |
| upload_dir | Yes | Directory path to upload into. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||