Amazon Textract · Capability

Amazon Textract — Text Detection

Amazon Textract — Text Detection. 1 operations. Lead operation: Amazon Textract Detect Document Text. Self-contained Naftiko capability covering one Amazon Textract business surface.

Run with Naftiko Amazon TextractText Detection

What You Can Do

POST
Detectdocumenttext — Amazon Textract Detect Document Text
/v1

MCP Tools

amazon-textract-detect-document-text

Amazon Textract Detect Document Text

Capability Spec

amazon-textract-text-detection.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Textract — Text Detection
  description: 'Amazon Textract — Text Detection. 1 operations. Lead operation: Amazon Textract Detect Document Text. Self-contained
    Naftiko capability covering one Amazon Textract business surface.'
  tags:
  - Amazon Textract
  - Text Detection
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_TEXTRACT_API_KEY: AMAZON_TEXTRACT_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-textract-text-detection
    baseUri: https://textract.amazonaws.com
    description: Amazon Textract — Text Detection business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: detectdocumenttext
        method: POST
        description: Amazon Textract Detect Document Text
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: amazon-textract-text-detection-rest
    port: 8080
    description: REST adapter for Amazon Textract — Text Detection. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: POST
        name: detectdocumenttext
        description: Amazon Textract Detect Document Text
        call: amazon-textract-text-detection.detectdocumenttext
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-textract-text-detection-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Textract — Text Detection. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amazon-textract-detect-document-text
      description: Amazon Textract Detect Document Text
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-textract-text-detection.detectdocumenttext
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.