Save Project
save_projectSaves open Xojo project changes from IDE memory to disk so set_code/edit_code edits persist. Use before disk edits to IDE-changed files, not before reverting disk edits.
Instructions
Saves the open Xojo project, writing the IDE's in-memory copy over the project's files on disk. Returns 'Project saved.', or 'No changes to save.' when no file changed within two seconds. Call it when IDE-side edits (set_code, edit_code, create_project_item and the like) should persist, and before editing on disk a file you changed through the IDE. Never call it between editing a file on disk and revert_project: it would overwrite the disk edit. Needs the Xojo IDE running with the project open.
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": "save_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||