ap_project_save
Save the active project to its known file path. If no path exists, use save-as first. The write is queued for the next frame, so check file status to confirm completion.
Instructions
Save the current project to its existing path. Fails with code 'no_project' if the project has never been saved — use ap_project_save_as to give it a path first. THE SAVE IS DEFERRED: ArmorPaint queues the write for the next frame, so a successful reply means 'queued', not 'written'. Call ap_fs_stat on the path if you need proof it landed.
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": "ap_project_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||