ass_reading_speed
Calculate the reading speed of a subtitle line to check if viewers can comfortably read it within its display duration.
Instructions
Reading speed of a single line.
Args: index: 0-based line index. doc_id: document id.
Returns:
{"doc_id", "index", "kind", "start_ms", "end_ms", "duration_ms", "characters", "lines", "drawing", "cps", "plain_text"} — cps is
None when the line has no duration (and 0.0 when it has no text).
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": {
"index": "<index>"
},
"name": "ass_reading_speed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| doc_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||