Amazon Textract · Capability

Amazon Textract — Async Operations

Amazon Textract — Async Operations. 2 operations. Lead operation: Amazon Textract Get Document Text Detection. Self-contained Naftiko capability covering one Amazon Textract business surface.

Run with Naftiko Amazon TextractAsync Operations

What You Can Do

POST
Getdocumenttextdetection — Amazon Textract Get Document Text Detection
/v1/getdocumenttextdetection
POST
Startdocumenttextdetection — Amazon Textract Start Document Text Detection
/v1/startdocumenttextdetection

MCP Tools

amazon-textract-get-document-text

Amazon Textract Get Document Text Detection

read-only
amazon-textract-start-document-text

Amazon Textract Start Document Text Detection

Capability Spec

amazon-textract-async-operations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Textract — Async Operations
  description: 'Amazon Textract — Async Operations. 2 operations. Lead operation: Amazon Textract Get Document Text Detection.
    Self-contained Naftiko capability covering one Amazon Textract business surface.'
  tags:
  - Amazon Textract
  - Async Operations
  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-async-operations
    baseUri: https://textract.amazonaws.com
    description: Amazon Textract — Async Operations business capability. Self-contained, no shared references.
    resources:
    - name: '#GetDocumentTextDetection'
      path: /#GetDocumentTextDetection
      operations:
      - name: getdocumenttextdetection
        method: POST
        description: Amazon Textract Get Document Text Detection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#StartDocumentTextDetection'
      path: /#StartDocumentTextDetection
      operations:
      - name: startdocumenttextdetection
        method: POST
        description: Amazon Textract Start Document Text Detection
        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-async-operations-rest
    port: 8080
    description: REST adapter for Amazon Textract — Async Operations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/getdocumenttextdetection
      name: getdocumenttextdetection
      description: 'REST surface for #GetDocumentTextDetection.'
      operations:
      - method: POST
        name: getdocumenttextdetection
        description: Amazon Textract Get Document Text Detection
        call: amazon-textract-async-operations.getdocumenttextdetection
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/startdocumenttextdetection
      name: startdocumenttextdetection
      description: 'REST surface for #StartDocumentTextDetection.'
      operations:
      - method: POST
        name: startdocumenttextdetection
        description: Amazon Textract Start Document Text Detection
        call: amazon-textract-async-operations.startdocumenttextdetection
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-textract-async-operations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Textract — Async Operations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amazon-textract-get-document-text
      description: Amazon Textract Get Document Text Detection
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-textract-async-operations.getdocumenttextdetection
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-textract-start-document-text
      description: Amazon Textract Start Document Text Detection
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-textract-async-operations.startdocumenttextdetection
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.