Categories

PDF Section & TOC Generator (PDF章节目录生成器)

Build a PDF with a generated table of contents and section placeholders

Generate a PDF with a clean table of contents and section pages. **Features:** - Parse sections with page counts - TOC with leader styles - Optional page numbers for sections - Customizable typography and margins

API Documentation

Request Endpoint

POST /en/api/tools/pdf-section-toc-generator

Request Parameters

Parameter Name Type Required Description
sections textarea Yes -
tocTitle text No -
startPageNumber number No -
pageSize select No -
orientation select No -
marginTop number No -
marginBottom number No -
marginLeft number No -
marginRight number No -
tocTitleSize number No -
tocEntrySize number No -
sectionTitleSize number No -
showLeaders checkbox No -
leaderStyle select No -
showPageNumbers checkbox No -

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-section-toc-generator": {
      "name": "pdf-section-toc-generator",
      "description": "Build a PDF with a generated table of contents and section placeholders",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-section-toc-generator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]