working-with-toc-cache - Manage cached tables of contents for documents
Reads, builds, validates, and uses cached tables of contents for PDF, DOCX, ODT, EPUB, and other supported documents.
Tags
Updated: 2026-11-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Choose cache usage
- Register document formats
- Generate and validate caches
- Assign and resolve heading IDs
- Serve ToC API routes
- Publish cached outlines
Inputs
- Document or attachment content
- Document blob IDs
- ToC format metadata
- Viewer document state
Outputs
- ToC cache JSON attachments
- ToC API responses
- Heading links and labels
- Outline panel state
Requirements
- Trilium application environment
- Attachment read and write access
- Supported document readers or client viewers
