{"x402Version":2,"error":"PAYMENT_REQUIRED","resource":{"url":"https://well-001-extract-table.rainmaker-wells.workers.dev/mcp#extract-table-from-pdf","description":"Extract tables from a PDF ($0.01 USDC via x402). Pass pdf_base64 or a https pdf_url. Optional schema maps headers. Optional max_pages (1-10). Returns JSON { pages, tables: [{ page, headers, rows }], warnings }. Text PDFs are parsed in-worker; scans require HOSTED_PARSER_URL.","mimeType":"application/json","serviceName":"Rainmaker Extract Table","tags":["rainmaker","pdf","tables"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x1603B3A5119AA82AB1349E29f2d49B5170e085b7","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"mcp","toolName":"extract-table-from-pdf","description":"Extract tables from a PDF ($0.01 USDC via x402). Pass pdf_base64 or a https pdf_url. Optional schema maps headers. Optional max_pages (1-10). Returns JSON { pages, tables: [{ page, headers, rows }], warnings }. Text PDFs are parsed in-worker; scans require HOSTED_PARSER_URL.","transport":"streamable-http","inputSchema":{"type":"object","properties":{"pdf_base64":{"type":"string","description":"Raw PDF encoded as base64 (optionally a data: URL). Provide this or pdf_url."},"pdf_url":{"type":"string","description":"https URL of a PDF. Provide this or pdf_base64. Max 8 MB."},"schema":{"description":"Optional header mapping. Object maps extracted header -> output name; array replaces headers in column order."},"max_pages":{"type":"integer","minimum":1,"maximum":10,"description":"Max pages to read. Capped at 10."}}},"example":{"pdf_url":"https://www.w3.org/WAI/WCAG21/Techniques/pdf/img/table-word.pdf"}},"output":{"type":"json","example":{"pages":1,"tables":[{"page":1,"headers":["A","B"],"rows":[["1","2"]]}],"warnings":[]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"mcp"},"toolName":{"type":"string"},"description":{"type":"string"},"transport":{"type":"string","enum":["streamable-http"]},"inputSchema":{"type":"object"},"example":{"type":"object"}},"required":["type","toolName","inputSchema"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"name":"well-001-extract-table","method":"POST"}