Skip to main content
Glama

PDF Redaction MCP Server

save_redacted_pdf

Apply redaction annotations to PDF documents and save the secured version, automatically generating output files with '_redacted' suffix when no custom path is specified.

Instructions

Apply all redactions and save the redacted PDF.

This tool applies all pending redaction annotations to the PDF and saves it. By default, it saves to a new file with '_redacted' appended to the original filename.

Args: pdf_path: Path to the PDF file (must be already loaded) output_path: Optional custom output path. If not provided, saves as '<original_name>_redacted.pdf' ctx: MCP context for logging

Returns: Path to the saved redacted PDF

Raises: ToolError: If the PDF is not loaded or save fails

Input Schema

NameRequiredDescriptionDefault
output_pathNoOptional output path. If not provided, appends '_redacted' to the original filename
pdf_pathYesPath to the loaded PDF file

Input Schema (JSON Schema)

{ "properties": { "output_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional output path. If not provided, appends '_redacted' to the original filename" }, "pdf_path": { "description": "Path to the loaded PDF file", "type": "string" } }, "required": [ "pdf_path" ], "type": "object" }

Other Tools from PDF Redaction MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/marc-hanheide/redact_mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server