{"api":"convert","description":"Document conversion tools for agents: send a document (url, base64, or raw POST bytes), get clean structured data back.","input":{"methods":["GET ?url=<public document URL>","POST application/json {\"url\": \"...\"} or {\"base64\": \"...\"}","POST raw bytes (content-type of the document)"],"maxBytes":10485760},"tools":[{"id":"pdf-to-text","method":"GET|POST","path":"/convert/pdf-to-text","returns":"Whole PDF as one plain-text string + page count."},{"id":"pdf-to-json","method":"GET|POST","path":"/convert/pdf-to-json","returns":"Structured JSON: per-page text array + document metadata (title, author, dates)."},{"id":"image-to-text","method":"GET|POST","path":"/convert/image-to-text","returns":"Text transcription (OCR-style) or concise description of an image via a vision model. Optional ?prompt= and ?max_tokens=."}]}