Move or rename a project file (can replace a file)
move_project_fileMove or rename a .3mf project file on disk; if it is open in OrcaSlicer, the window and next save follow the new path without changing file content or dirty state.
Instructions
Move or rename a .3mf project file on disk; the window follows when it is the open project.
When it is the open project's file, the title, project name and File > Recent show the new
path, and the next save_project writes there. Any other recent-list entry naming the old
path is pointed at the new one. The file's content and the project's dirty state do not
change. Fails with exists when something is already at to and overwrite is off; replacing
it also needs Preferences > Remote API > 'Allow deleting and replacing project files' in
OrcaSlicer. Needs fork v2.4.2-mcp.15 or later.
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>",
"to": "<to>"
},
"name": "move_project_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Its new .3mf path (a new name in the same folder renames it). | |
| path | Yes | The .3mf file to move or rename, on the OrcaSlicer host. | |
| overwrite | No | Replace an existing file at `to`. Off by default. The open project's own file is never replaced. |