Open a project
open_projectOpens a Lathe project by name or path, or lists projects newest first. Specify how to handle unsaved changes before replacing the current project.
Instructions
Opens a project, like File > Open: by name from the projects folder (exact, or a unique part of it), or by path. Without either it lists the projects, newest first. It replaces the open project, so unsaved changes stop it unless "unsaved" says what to do.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "open_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A project in the projects folder | |
| path | No | Or the .lathe file (or its folder) anywhere | |
| unsaved | No | If the open project has unsaved changes: "save" them first (it must have been saved before), or "discard" them. Without it, unsaved changes stop the call. Ask the person before discarding anything |