naftiko: 1.0.0-alpha2 info: label: Pipedrive API v1 — ProjectPhases description: 'Pipedrive API v1 — ProjectPhases. 2 operations. Lead operation: Get project phases. Self-contained Naftiko capability covering one Pipedrive business surface.' tags: - Pipedrive - ProjectPhases created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PIPEDRIVE_API_KEY: PIPEDRIVE_API_KEY capability: consumes: - type: http namespace: v1-projectphases baseUri: https://api.pipedrive.com/v1 description: Pipedrive API v1 — ProjectPhases business capability. Self-contained, no shared references. resources: - name: projects-phases path: /projects/phases operations: - name: getprojectsphases method: GET description: Get project phases outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: board_id in: query type: integer description: ID of the board for which phases are requested required: true - name: projects-phases-id path: /projects/phases/{id} operations: - name: getprojectsphase method: GET description: Get details of a phase outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: The ID of the project phase required: true authentication: type: bearer token: '{{env.PIPEDRIVE_API_KEY}}' exposes: - type: rest namespace: v1-projectphases-rest port: 8080 description: REST adapter for Pipedrive API v1 — ProjectPhases. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/phases name: projects-phases description: REST surface for projects-phases. operations: - method: GET name: getprojectsphases description: Get project phases call: v1-projectphases.getprojectsphases with: board_id: rest.board_id outputParameters: - type: object mapping: $. - path: /v1/projects/phases/{id} name: projects-phases-id description: REST surface for projects-phases-id. operations: - method: GET name: getprojectsphase description: Get details of a phase call: v1-projectphases.getprojectsphase with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: v1-projectphases-mcp port: 9090 transport: http description: MCP adapter for Pipedrive API v1 — ProjectPhases. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-project-phases description: Get project phases hints: readOnly: true destructive: false idempotent: true call: v1-projectphases.getprojectsphases with: board_id: tools.board_id outputParameters: - type: object mapping: $. - name: get-details-phase description: Get details of a phase hints: readOnly: true destructive: false idempotent: true call: v1-projectphases.getprojectsphase with: id: tools.id outputParameters: - type: object mapping: $.