IETF Datatracker API — Documents

IETF Datatracker API — Documents. 1 operations. Lead operation: Get document JSON metadata. Self-contained Naftiko capability covering one Internet Engineering Task Force business surface.

Run with Naftiko Internet Engineering Task ForceDocuments

What You Can Do

GET
Getdocumentjson — Get document JSON metadata
/v1/doc/{document}/doc-json

MCP Tools

get-document-json-metadata

Get document JSON metadata

read-only idempotent

Capability Spec

internet-engineering-task-force-documents.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: IETF Datatracker API — Documents
  description: 'IETF Datatracker API — Documents. 1 operations. Lead operation: Get document JSON metadata. Self-contained
    Naftiko capability covering one Internet Engineering Task Force business surface.'
  tags:
  - Internet Engineering Task Force
  - Documents
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    INTERNET_ENGINEERING_TASK_FORCE_API_KEY: INTERNET_ENGINEERING_TASK_FORCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: internet-engineering-task-force-documents
    baseUri: https://datatracker.ietf.org
    description: IETF Datatracker API — Documents business capability. Self-contained, no shared references.
    resources:
    - name: doc-document-doc.json
      path: /doc/{document}/doc.json
      operations:
      - name: getdocumentjson
        method: GET
        description: Get document JSON metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: document
          in: path
          type: string
          description: Document name (e.g., draft-ietf-quic-transport).
          required: true
    authentication:
      type: apikey
      key: apikey
      value: '{{env.INTERNET_ENGINEERING_TASK_FORCE_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: internet-engineering-task-force-documents-rest
    port: 8080
    description: REST adapter for IETF Datatracker API — Documents. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/doc/{document}/doc-json
      name: doc-document-doc-json
      description: REST surface for doc-document-doc.json.
      operations:
      - method: GET
        name: getdocumentjson
        description: Get document JSON metadata
        call: internet-engineering-task-force-documents.getdocumentjson
        with:
          document: rest.document
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: internet-engineering-task-force-documents-mcp
    port: 9090
    transport: http
    description: MCP adapter for IETF Datatracker API — Documents. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-document-json-metadata
      description: Get document JSON metadata
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: internet-engineering-task-force-documents.getdocumentjson
      with:
        document: tools.document
      outputParameters:
      - type: object
        mapping: $.