Apache PDFBox · Capability

Apache PDFBox API — Forms

Apache PDFBox API — Forms. 1 operations. Lead operation: Apache PDFBox Get Form Fields. Self-contained Naftiko capability covering one Apache Pdfbox business surface.

Run with Naftiko Apache PdfboxForms

What You Can Do

GET
Getformfields — Apache PDFBox Get Form Fields
/v1/documents/{documentid}/forms

MCP Tools

apache-pdfbox-get-form-fields

Apache PDFBox Get Form Fields

read-only idempotent

Capability Spec

apache-pdfbox-forms.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache PDFBox API — Forms
  description: 'Apache PDFBox API — Forms. 1 operations. Lead operation: Apache PDFBox Get Form Fields. Self-contained Naftiko
    capability covering one Apache Pdfbox business surface.'
  tags:
  - Apache Pdfbox
  - Forms
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_PDFBOX_API_KEY: APACHE_PDFBOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: apache-pdfbox-forms
    baseUri: https://{host}/pdfbox
    description: Apache PDFBox API — Forms business capability. Self-contained, no shared references.
    resources:
    - name: documents-documentId-forms
      path: /documents/{documentId}/forms
      operations:
      - name: getformfields
        method: GET
        description: Apache PDFBox Get Form Fields
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: apache-pdfbox-forms-rest
    port: 8080
    description: REST adapter for Apache PDFBox API — Forms. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/documents/{documentid}/forms
      name: documents-documentid-forms
      description: REST surface for documents-documentId-forms.
      operations:
      - method: GET
        name: getformfields
        description: Apache PDFBox Get Form Fields
        call: apache-pdfbox-forms.getformfields
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apache-pdfbox-forms-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache PDFBox API — Forms. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: apache-pdfbox-get-form-fields
      description: Apache PDFBox Get Form Fields
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apache-pdfbox-forms.getformfields
      outputParameters:
      - type: object
        mapping: $.