Open a recent project (replaces the open session)
open_recent_projectOpen a recently used OrcaSlicer project by its 0-based position in the File > Recent list. List recent projects first and open it immediately, since saves or opens reorder the list.
Instructions
Open an entry of File > Recent by its position in list_recent_projects; open_project takes a path instead.
Same behaviour and arguments as open_project. The list can change between calls (a save or an open moves its file to the top), so list first and open straight after; a file no longer on disk answers file_not_found and forget_recent_project removes the entry. 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": {
"index": "<index>"
},
"name": "open_recent_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | 0-based position in list_recent_projects (0 is the most recent). | |
| presets | No | 'project' (default) selects the presets stored in the project; 'keep_current' selects the presets active before the call again. | project |
| if_unsaved | No | What to do when the current project has unsaved changes: 'fail' (default) refuses and changes nothing, 'save' writes it to its own path first, 'discard' throws the changes away. | fail |