smart-document
Premium PIPELINE in a single call: takes an image or PDF, extracts its text (OCR), summarizes it and translates the summary to the target language. For agents that need to 'understand a document' end-to-end (invoices, contracts, letters, papers) without orches [x402: 0.03 USDC on Base, pay-per-use]
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": {
"file_b64": "<file_b64>"
},
"name": "smart-document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_b64 | Yes | File as base64 (or upload it via multipart) | |
| language | No | Target language of the translated summary (ISO, default 'en') |