ocg_manager
List and inspect optional content groups (layers) in PDF files. Use the 'list' action to view layer names; the 'toggle' action is not yet supported.
Instructions
Inspect Optional Content Groups (layers); changing visibility is not yet available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| layer | No | Layer name to toggle (required for "toggle" action) | |
| action | Yes | "list" = show layers; "toggle" returns an unavailable result | |
| output_name | No | Output file path (defaults to same dir with suffix) |