get_extract
Document extraction: fetch a PDF, DOCX, or CSV by URL and get clean Markdown plus structured JSON — PDF text by page with metadata (honestly flags scanned PDFs that would need OCR), DOCX converted to real Markdown, CSV parsed to typed columns + JSON rows + a Markdown table. For agents that need document contents, not bytes. ($0.02 per call, paid via x402)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "get_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of the .pdf, .docx, or .csv document | |
| type | No | Force the parser: pdf, docx, or csv (default: auto-detect from content-type, extension, magic bytes) | |
| max_rows | No | CSV only: max rows returned as JSON (default 1000, max 5000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| type | No | ||
| pages | No | ||
| columns | No | ||
| markdown | No | ||
| metadata | No | ||
| row_count | No | ||
| word_count | No |