← Back to registry

TOOL · run_ocr

No description provided.

Canonical Definition

{
  "category": "documents",
  "description": {
    "en": "Extracts text and trade entities from an attached document.",
    "es": "Extrae texto y entidades comerciales desde un documento adjunto."
  },
  "id": "run_ocr",
  "label": {
    "en": "Run OCR",
    "es": "Ejecutar OCR"
  },
  "metadata": {
    "artifact_type": "vetra-ocr-tool",
    "consumers": [
      "Vetra-rust",
      "Imaginclaw"
    ],
    "owner_app": "Vetra-rust",
    "promotion_reason": "Document extraction must remain outside UI and orchestration layers.",
    "scope": "app-scoped",
    "version": "0.2.0"
  },
  "requires_workspace": true,
  "response": {
    "data": {
      "attachment_size_hint": "{{attachment_size}}",
      "document_name": "{{document_name}}",
      "entities": {
        "amount": "USD 128000",
        "buyer": "Nordic Roast GmbH",
        "exporter": "AgroExport SA",
        "shipment_term": "FOB Cartagena"
      },
      "extracted_text": "{{document_text_or_default}}",
      "mime": "{{attachment_mime}}"
    },
    "summary": {
      "en": "OCR completed and structural text extracted from the document.",
      "es": "OCR ejecutado y texto estructural extraido del documento."
    }
  },
  "suggested_actions": [
    "attach_document",
    "create_contract",
    "verify_contract"
  ],
  "triggers": [
    "ocr",
    "scan",
    "escanea",
    "extrae",
    "invoice",
    "documento"
  ]
}