doc_text
PDF to text, pure stdlib: FlateDecode, TJ/Tj operators, ToUnicode CMaps (real producers included), latin-1 fidelity, honest verdicts — image-only says 'no text layer', encrypted says decryption is out of scope, never a confident garbage. Same bytes in, same text out, forever. Free under 32 KB, $0.001 above (x402 on Base).
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": {
"pdf_b64": "<pdf_b64>"
},
"name": "doc_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| pdf_b64 | Yes |