分类

PDF页面母版模板

生成包含边距、网格、页眉页脚和栏线的PDF母版模板

创建用于版式规划与设计系统的可打印PDF母版模板。 **包含的辅助线:** - 边距框与安全区 - 可选出血内缩与裁切线 - 网格与基线辅助 - 栏间距与页眉页脚区域 - 可选标尺与标注

API 文档

请求端点

POST /zh/api/tools/pdf-page-master-template

请求参数

参数名 类型 必填 描述
title text -
pageSize select -
orientation select -
marginTop number -
marginBottom number -
marginLeft number -
marginRight number -
showBleed checkbox -
bleedSize number -
showGrid checkbox -
gridSize number -
showBaseline checkbox -
baselineSpacing number -
showColumns checkbox -
columnCount select -
gutterWidth number -
showHeaderFooter checkbox -
headerHeight number -
footerHeight number -
safeInset number -
showRulers checkbox -
showLabels 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-page-master-template": {
      "name": "pdf-page-master-template",
      "description": "生成包含边距、网格、页眉页脚和栏线的PDF母版模板",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-page-master-template",
      "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]