naftiko: 1.0.0-alpha2 info: label: Datadog API — Attachments description: 'Datadog API — Attachments. 2 operations. Lead operation: Datadog Get a List of Attachments. Self-contained Naftiko capability covering one Datadog business surface.' tags: - Datadog - Attachments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATADOG_API_KEY: DATADOG_API_KEY capability: consumes: - type: http namespace: datadog-attachments baseUri: https://{subdomain}.{site} description: Datadog API — Attachments business capability. Self-contained, no shared references. resources: - name: api-v2-incidents-incident_id-attachments path: /api/v2/incidents/{incident_id}/attachments operations: - name: listincidentattachments method: GET description: Datadog Get a List of Attachments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateincidentattachments method: PATCH description: Datadog Create, Update, and Delete Incident Attachments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.DATADOG_API_KEY}}' exposes: - type: rest namespace: datadog-attachments-rest port: 8080 description: REST adapter for Datadog API — Attachments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/incidents/{incident-id}/attachments name: api-v2-incidents-incident-id-attachments description: REST surface for api-v2-incidents-incident_id-attachments. operations: - method: GET name: listincidentattachments description: Datadog Get a List of Attachments call: datadog-attachments.listincidentattachments outputParameters: - type: object mapping: $. - method: PATCH name: updateincidentattachments description: Datadog Create, Update, and Delete Incident Attachments call: datadog-attachments.updateincidentattachments with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: datadog-attachments-mcp port: 9090 transport: http description: MCP adapter for Datadog API — Attachments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datadog-get-list-attachments description: Datadog Get a List of Attachments hints: readOnly: true destructive: false idempotent: true call: datadog-attachments.listincidentattachments outputParameters: - type: object mapping: $. - name: datadog-create-update-and-delete description: Datadog Create, Update, and Delete Incident Attachments hints: readOnly: false destructive: false idempotent: true call: datadog-attachments.updateincidentattachments with: body: tools.body outputParameters: - type: object mapping: $.