分类

PDF章节目录生成器

生成带目录与章节占位页的PDF文档

生成带目录与章节页的PDF。 **功能:** - 解析章节与页数 - 目录引导符样式 - 章节页页码 - 字体与页边距可调

API 文档

请求端点

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

请求参数

参数名 类型 必填 描述
sections textarea -
tocTitle text -
startPageNumber number -
pageSize select -
orientation select -
marginTop number -
marginBottom number -
marginLeft number -
marginRight number -
tocTitleSize number -
tocEntrySize number -
sectionTitleSize number -
showLeaders checkbox -
leaderStyle select -
showPageNumbers checkbox -

响应格式

{
  "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)"
}
文件: 文件

AI MCP 文档

将此工具添加到您的 MCP 服务器配置中:

{
  "mcpServers": {
    "elysiatools-pdf-section-toc-generator": {
      "name": "pdf-section-toc-generator",
      "description": "生成带目录与章节占位页的PDF文档",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-section-toc-generator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。

如果遇见问题,请联系我们:[email protected]