Get Script
get_scriptGet a video's timed script lines — the text that gets burned in as subtitles and spoken as narration. Use this before editing, so you can send back the full set of lines with your changes applied.
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": {
"videoId": "<videoId>"
},
"name": "get_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoId | Yes | The video ID (e.g. vid_...) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| locked | No | ||
| videoId | No | ||
| language | No |