ass_remove_clip
Remove \clip and \iclip tags from selected ASS subtitle lines to clean text. Set include_inverse=false to keep inverse clips.
Instructions
Strip clip tags from the selected lines.
include_inverse=True (the default) removes \iclip as well as
\clip; False keeps inverse clips. Blocks left empty by the removal
are dropped, which is expected for a remove operation.
Returns {doc_id, include_inverse, changed, lines: [{index, removed, changed, text}]}.
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_remove_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | ||
| selection | No | ||
| include_inverse | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||