krita_save_document
Save a Krita document as an editable .kra file under a configured root. Use a relative path; enable overwrite to replace an existing file.
Instructions
Save editable .kra work under a configured output root. Path is relative; replacing an existing file requires overwrite=true.
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": {
"instance_id": "<instance_id>",
"operation_id": "<operation_id>",
"document_id": "<document_id>",
"root": "<root>",
"path": "<path>"
},
"name": "krita_save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| root | Yes | ||
| overwrite | No | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes |