page_close
Closes Scribe tabs while keeping pages in the Library for reopening, or permanently deletes selected or bulk pages when requested.
Instructions
Close Scribe tabs (same as the UI close button). The pages stay in the Library and can be reopened with page_open. Pass id or key for one tab, or unpinned/all to close several open tabs. Pass permanent: true to delete the page(s) instead (no confirmation); deleted pages stay in the user's Trash for 7 days, and Ctrl+Shift+T (desktop app) or the notice's Undo restores the most recent delete (a bulk delete counts as one). Returns { closed: [ids] } or { deleted: [ids] } for the tabs this call closed or deleted — not the Library-wide closed-page count (that is page_list's closedCount).
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_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Tab id to close or delete. | |
| all | No | If true, close (or permanently delete) every open tab including pinned ones. | |
| key | No | Tab key to close or delete. | |
| unpinned | No | If true, close (or permanently delete) every open tab that is not pinned. | |
| permanent | No | If true, delete the page instead of just closing its tab. Default false. |