extract_structured

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.

Server Pypi:pdfmux pypi:pdfmux
Category Read
Risk class Low
Parameters 00 required

What extract_structured does on Pypi:pdfmux

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.

Why extract_structured needs a policy

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.

Questions about extract_structured

What does the extract_structured tool do? +

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.

How do I enforce a policy on extract_structured? +

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.

What risk level is extract_structured? +

extract_structured is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit extract_structured? +

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.

How do I block extract_structured completely? +

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.

What MCP server provides extract_structured? +

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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.