page_open
Open a Library page as a focused tab by id or key, or show a file from disk in a temporary viewer tab. Use it to bring a page or file into view.
Instructions
Open a closed Library page as a tab (appended to the strip and focused), or focus it if it is already open. Identify the page by id or key from library_search. The page stays where it is in the Library. Or pass file to show the user a file on disk in Scribe's file viewer: a temporary tab that stays out of the Library (keep: true adds it), or the page that already has that file. Only files this thread may read: its workspace and read roots, or any file in Code mode with Full access. To only point the user at a file, link it instead ([[file:C:\path\shot.png]]).
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": "page_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Tab id, e.g. t_ab12cd34. | |
| key | No | Page key, e.g. scribe:sprint-notes (the scribe: prefix is optional). | |
| file | No | A file to open as a page instead: absolute or workspace-relative path. | |
| keep | No | With file: add the page to the Library instead of a temporary tab. Default false. |