ass_set_comment
Convert selected ASS subtitle lines between Dialogue and Comment, or delete them, to toggle commented events in Aegisub subtitle documents.
Instructions
Convert lines between Dialogue: and Comment:.
Args:
selection: selection spelling; None = every line.
comment: True converts to Comment:, False back to
Dialogue:.
drop: delete the selected lines instead of converting them.
Returns {"doc_id", "changed": [<0-based indices>], "count", "comment", "dropped"}. Snapshot-backed. Indices are 0-based.
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": {
"selection": "<selection>"
},
"name": "ass_set_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drop | No | ||
| doc_id | No | ||
| comment | No | ||
| selection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||