Skip to main content
Glama

PDF Redaction MCP Server

close_pdf

Release system resources by closing a loaded PDF file after completing redaction operations, freeing memory and preventing file lock issues.

Instructions

Close a loaded PDF and free its resources.

Args: pdf_path: Path to the PDF file to close ctx: MCP context for logging

Returns: Confirmation message

Raises: ToolError: If the PDF is not loaded

Input Schema

NameRequiredDescriptionDefault
pdf_pathYesPath to the PDF file to close

Input Schema (JSON Schema)

{ "properties": { "pdf_path": { "description": "Path to the PDF file to close", "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