WebMCP Registry

pdf_organize

verifiedv0.1

Reorders or drops pages of one PDF in the browser by sending the 0-based indices to keep, in order. Pass pdf as an application/pdf machine document (base64, no data URL prefix, 12 MiB decoded) and keptOrder (1–200 indices). Duplicates are allowed. No blank-page detection. Variant URLs are not a second machine Tool. Do not use this to rotate pages (that is pdf_rotate) or to extract a range string (that is pdf_split).

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

Input Schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "pdf",
    "keptOrder"
  ],
  "properties": {
    "pdf": {
      "type": "object",
      "required": [
        "mime",
        "base64"
      ],
      "properties": {
        "mime": {
          "type": "string",
          "const": "application/pdf"
        },
        "base64": {
          "type": "string",
          "maxLength": 16777220,
          "minLength": 1
        }
      },
      "additionalProperties": false
    },
    "keptOrder": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0
      },
      "maxItems": 200,
      "minItems": 1
    }
  },
  "additionalProperties": false
}

Full Contract

{
  "name": "pdf_organize",
  "description": "Reorders or drops pages of one PDF in the browser by sending the 0-based indices to keep, in order. Pass pdf as an application/pdf machine document (base64, no data URL prefix, 12 MiB decoded) and keptOrder (1–200 indices). Duplicates are allowed. No blank-page detection. Variant URLs are not a second machine Tool. Do not use this to rotate pages (that is pdf_rotate) or to extract a range string (that is pdf_split).",
  "inputSchema": {
    "type": "object",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "required": [
      "pdf",
      "keptOrder"
    ],
    "properties": {
      "pdf": {
        "type": "object",
        "required": [
          "mime",
          "base64"
        ],
        "properties": {
          "mime": {
            "type": "string",
            "const": "application/pdf"
          },
          "base64": {
            "type": "string",
            "maxLength": 16777220,
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "keptOrder": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0
        },
        "maxItems": 200,
        "minItems": 1
      }
    },
    "additionalProperties": false
  }
}

GET /api/tool/simpletoolstack.com/pdf_organize