← Back to registry

Artifact Runtime · TOOL

Canonical runtime-backed view of the artifact, independent from metadata governance.

Resolved Artifact

{
  "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"
    ]
  },
  "kind": "tool",
  "summary": {
    "description": "No description provided.",
    "id": "run_ocr",
    "kind": "tool",
    "path": "Tools/apps/vetra/run_ocr.json",
    "title": "run_ocr"
  },
  "validation_issues": [
    "Tool 'type' should be 'function'",
    "Tool must define a function/name identifier",
    "Tool must include a description"
  ]
}

Validation

Tool 'type' should be 'function'
Tool must define a function/name identifier
Tool must include a description