Delete a project file from disk
delete_project_filePermanently delete a .3mf OrcaSlicer project file from disk, not just File > Recent; confirm with the user and ensure Remote API project deletion is allowed.
Instructions
Delete a .3mf project file from disk for good; forget_recent_project only takes it off File > Recent.
There is no trash, and the file leaves File > Recent too. Only .3mf files can be deleted this way, and never the open project's own file: new_project or open_project first. Confirm with the user before calling this on a file they did not just ask to remove. OrcaSlicer refuses it (blocked_by_remote_api_policy) unless the user ticked Preferences > Remote API > 'Allow deleting and replacing project files'. 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>"
},
"name": "delete_project_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The .3mf file to delete, on the OrcaSlicer host. |