naftiko: 1.0.0-alpha2 info: label: Stanley Black & Decker Tool Connect API — Batteries description: 'Stanley Black & Decker Tool Connect API — Batteries. 2 operations. Lead operation: List Batteries. Self-contained Naftiko capability covering one Stanley Black And Decker business surface.' tags: - Stanley Black And Decker - Batteries created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STANLEY_BLACK_AND_DECKER_API_KEY: STANLEY_BLACK_AND_DECKER_API_KEY capability: consumes: - type: http namespace: tool-connect-batteries baseUri: https://api.dewalt.com description: Stanley Black & Decker Tool Connect API — Batteries business capability. Self-contained, no shared references. resources: - name: v1-batteries path: /v1/batteries operations: - name: listbatteries method: GET description: List Batteries outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: jobsiteId in: query type: string description: Filter batteries by jobsite - name: chargeStatus in: query type: string description: Filter by charge status - name: limit in: query type: integer description: Maximum number of results to return - name: v1-batteries-batteryId path: /v1/batteries/{batteryId} operations: - name: getbattery method: GET description: Get Battery outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: batteryId in: path type: string description: The unique identifier of the battery required: true authentication: type: bearer token: '{{env.STANLEY_BLACK_AND_DECKER_API_KEY}}' exposes: - type: rest namespace: tool-connect-batteries-rest port: 8080 description: REST adapter for Stanley Black & Decker Tool Connect API — Batteries. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/batteries name: v1-batteries description: REST surface for v1-batteries. operations: - method: GET name: listbatteries description: List Batteries call: tool-connect-batteries.listbatteries with: jobsiteId: rest.jobsiteId chargeStatus: rest.chargeStatus limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/v1/batteries/{batteryid} name: v1-batteries-batteryid description: REST surface for v1-batteries-batteryId. operations: - method: GET name: getbattery description: Get Battery call: tool-connect-batteries.getbattery with: batteryId: rest.batteryId outputParameters: - type: object mapping: $. - type: mcp namespace: tool-connect-batteries-mcp port: 9090 transport: http description: MCP adapter for Stanley Black & Decker Tool Connect API — Batteries. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-batteries description: List Batteries hints: readOnly: true destructive: false idempotent: true call: tool-connect-batteries.listbatteries with: jobsiteId: tools.jobsiteId chargeStatus: tools.chargeStatus limit: tools.limit outputParameters: - type: object mapping: $. - name: get-battery description: Get Battery hints: readOnly: true destructive: false idempotent: true call: tool-connect-batteries.getbattery with: batteryId: tools.batteryId outputParameters: - type: object mapping: $.