WebMCP Registry

pdf_split

verifiedv0.1

Extracts a page range from one PDF into a single PDF in the browser. Pass pdf as an application/pdf machine document (base64, no data URL prefix, 12 MiB decoded) and spec (1–200 chars, 1-based ranges like 1-3,5). One output PDF only — not one file per page. Variant URLs are not a second machine Tool. Do not use this to merge PDFs (that is pdf_merge) or to reorder pages (that is pdf_organize).

Updated 9/3/2026 · Created 9/3/2026

Input Schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "pdf",
    "spec"
  ],
  "properties": {
    "pdf": {
      "type": "object",
      "required": [
        "mime",
        "base64"
      ],
      "properties": {
        "mime": {
          "type": "string",
          "const": "application/pdf"
        },
        "base64": {
          "type": "string",
          "maxLength": 16777220,
          "minLength": 1
        }
      },
      "additionalProperties": false
    },
    "spec": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    }
  },
  "additionalProperties": false
}

Full Contract

{
  "name": "pdf_split",
  "description": "Extracts a page range from one PDF into a single PDF in the browser. Pass pdf as an application/pdf machine document (base64, no data URL prefix, 12 MiB decoded) and spec (1–200 chars, 1-based ranges like 1-3,5). One output PDF only — not one file per page. Variant URLs are not a second machine Tool. Do not use this to merge PDFs (that is pdf_merge) or to reorder pages (that is pdf_organize).",
  "inputSchema": {
    "type": "object",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "required": [
      "pdf",
      "spec"
    ],
    "properties": {
      "pdf": {
        "type": "object",
        "required": [
          "mime",
          "base64"
        ],
        "properties": {
          "mime": {
            "type": "string",
            "const": "application/pdf"
          },
          "base64": {
            "type": "string",
            "maxLength": 16777220,
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "spec": {
        "type": "string",
        "maxLength": 200,
        "minLength": 1
      }
    },
    "additionalProperties": false
  }
}

GET /api/tool/simpletoolstack.com/pdf_split