get_spoken_context
Read what was said around a moment in a video: the sentences before and after a timestamp. Use it after search_spoken_words to see what a matching sentence was part of, before you quote or rely on it. Works for videos in the library only.
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": {
"video": "<video>",
"seconds": "<seconds>"
},
"name": "get_spoken_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | YouTube video ID or URL, as returned by search_spoken_words. | |
| window | No | Seconds to include before and after. Default 20. | |
| seconds | Yes | The moment to read around, in seconds from the start of the video. |