Close a sequence tab
close_sequenceCloses a sequence’s tab in Premiere Pro’s Timeline panel without deleting it from the project, so editors can clear open timelines while keeping the sequence available for reopening.
Instructions
Close a sequence's tab in the Timeline panel. The sequence stays in the project (use delete_sequence to remove it) and can be reopened with set_active_sequence. Fails with FAILED if Premiere keeps the tab open. Returns closed=true and the id and name of the sequence that is active afterwards (null when no sequence is left open).
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": "close_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |