Extract structured data from a PDF — tables as JSON, key-value pairs, and optionally map to a JSON schema. Returns tables with headers/rows, detected key-value pairs with auto-normalization (dates, amounts, rates), and schema-mapped output if a schema is provided.
AI agents call extract_structured to retrieve information from Pypi:pdfmux without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool performs data extraction and transformation from PDFs into structured formats (JSON, key-value pairs, schema-mapped output). It retrieves and reformats information without creating side effects, modifying the source PDF, executing code, deleting data, or committing financial transactions. The confidence is high because the description is explicit about read-only operations.
From the tool's definition Tool description: 'Extract structured data from a PDF — tables as JSON, key-value pairs, and optionally map to a JSON schema.
Attacks that exploit this kind of access
Extract structured data from a PDF — tables as JSON, key-value pairs, and optionally map to a JSON schema. Returns tables with headers/rows, detected key-value pairs with auto-normalization (dates, amounts, rates), and schema-mapped output if a schema is provided. It is categorised as a Read tool in the Pypi:pdfmux MCP Server, which means it retrieves data without modifying state.
Register the Pypi:pdfmux MCP server in PolicyLayer and add a rule for extract_structured: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Pypi:pdfmux. Nothing to install.
extract_structured is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the extract_structured rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for extract_structured. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
extract_structured is provided by the Pypi:pdfmux MCP server (pypi:pdfmux). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →