ass_close
Close an Aegisub/ASS subtitle document, optionally saving changes first. Use when finishing edits to commit work or release the file.
Instructions
Close a document (optionally saving it first).
Args: doc_id: document to close; the current one when omitted. save: save before closing (requires a known path).
Returns {"doc_id", "closed", "saved", "path", "remaining", "current"}.
Line indices are 0-based.
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": "ass_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| doc_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||