Tools

Outline of a PDF

The document's outline (from bookmarks or detected headings) as a Markdown list or JSON tree, with the pages each section covers.

Same tool as the MCP server's pdf_outline. Runs before responding; for long work, POST /v1/jobs instead.

post/v1/tools/pdf_outline

Request

  • Base URL: http://127.0.0.1:7341
  • URL: http://127.0.0.1:7341/v1/tools/pdf_outline
  • Auth: HTTP bearer

Request body

inputstring required

Path to a PDF inside an allowed folder (absolute, or relative to the first allowed folder).

format'markdown' | 'json'

Response

The result. Any new files are written inside the allowed folders.

formatstring required
contentstring required

Changes

No recorded changes to this operation across all 1 revision of this API.