naftiko: 1.0.0-alpha2 info: label: ADT+ Platform API — Devices description: 'ADT+ Platform API — Devices. 2 operations. Lead operation: ADT List Security Devices. Self-contained Naftiko capability covering one Adt business surface.' tags: - Adt - Devices created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ADT_API_KEY: ADT_API_KEY capability: consumes: - type: http namespace: platform-devices baseUri: https://api.adt.com/v1 description: ADT+ Platform API — Devices business capability. Self-contained, no shared references. resources: - name: systems-systemId-devices path: /systems/{systemId}/devices operations: - name: getdevices method: GET description: ADT List Security Devices outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: systemId in: path type: string description: Unique identifier of the security system. required: true - name: type in: query type: string description: Filter devices by type. - name: systems-systemId-devices-deviceId path: /systems/{systemId}/devices/{deviceId} operations: - name: getdevice method: GET description: ADT Get a Security Device outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: systemId in: path type: string description: Security system ID. required: true - name: deviceId in: path type: string description: Device ID. required: true authentication: type: bearer token: '{{env.ADT_API_KEY}}' exposes: - type: rest namespace: platform-devices-rest port: 8080 description: REST adapter for ADT+ Platform API — Devices. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/systems/{systemid}/devices name: systems-systemid-devices description: REST surface for systems-systemId-devices. operations: - method: GET name: getdevices description: ADT List Security Devices call: platform-devices.getdevices with: systemId: rest.systemId type: rest.type outputParameters: - type: object mapping: $. - path: /v1/systems/{systemid}/devices/{deviceid} name: systems-systemid-devices-deviceid description: REST surface for systems-systemId-devices-deviceId. operations: - method: GET name: getdevice description: ADT Get a Security Device call: platform-devices.getdevice with: systemId: rest.systemId deviceId: rest.deviceId outputParameters: - type: object mapping: $. - type: mcp namespace: platform-devices-mcp port: 9090 transport: http description: MCP adapter for ADT+ Platform API — Devices. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: adt-list-security-devices description: ADT List Security Devices hints: readOnly: true destructive: false idempotent: true call: platform-devices.getdevices with: systemId: tools.systemId type: tools.type outputParameters: - type: object mapping: $. - name: adt-get-security-device description: ADT Get a Security Device hints: readOnly: true destructive: false idempotent: true call: platform-devices.getdevice with: systemId: tools.systemId deviceId: tools.deviceId outputParameters: - type: object mapping: $.