extract_pdf
Extract text and light structure (title, headings, page count) from a PDF via LMX pdf-extract. Provide file_url and/or file_base64. Requires a real LMX API key (same gate as web_search).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call. | |
| file_url | No | Optional https URL to fetch the PDF from. Provide this and/or file_base64. | |
| file_base64 | No | Optional base64-encoded PDF bytes (raw base64 or data:application/pdf;base64,...). Provide this and/or file_url. |