x402_ocr
Extract text from images with OCR. Submit an image URL or file, receive an async job ticket, then poll for the extracted text.
Instructions
Image text extraction (OCR) ($0.02 USDC/call). ASYNC — returns a job ticket; poll with x402_poll_job (job_type 'box').
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": "x402_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Image URL (or use file) | |
| file | No | Base64-encoded image (or use url) | |
| filename | No | Filename, e.g. photo.png |