naftiko: 1.0.0-alpha2 info: label: Pipedrive API v1 — ProductFields description: 'Pipedrive API v1 — ProductFields. 6 operations. Lead operation: Delete multiple product fields in bulk. Self-contained Naftiko capability covering one Pipedrive business surface.' tags: - Pipedrive - ProductFields created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PIPEDRIVE_API_KEY: PIPEDRIVE_API_KEY capability: consumes: - type: http namespace: v1-productfields baseUri: https://api.pipedrive.com/v1 description: Pipedrive API v1 — ProductFields business capability. Self-contained, no shared references. resources: - name: productFields path: /productFields operations: - name: deleteproductfields method: DELETE description: Delete multiple product fields in bulk outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ids in: query type: string description: The comma-separated field IDs to delete required: true - name: getproductfields method: GET description: Get all product fields outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: start in: query type: integer description: Pagination start - name: limit in: query type: integer description: Items shown per page - name: addproductfield method: POST description: Add a new product field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: productFields-id path: /productFields/{id} operations: - name: deleteproductfield method: DELETE description: Delete a product field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: The ID of the product field required: true - name: getproductfield method: GET description: Get one product field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: The ID of the product field required: true - name: updateproductfield method: PUT description: Update a product field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: The ID of the product field required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.PIPEDRIVE_API_KEY}}' exposes: - type: rest namespace: v1-productfields-rest port: 8080 description: REST adapter for Pipedrive API v1 — ProductFields. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/productfields name: productfields description: REST surface for productFields. operations: - method: DELETE name: deleteproductfields description: Delete multiple product fields in bulk call: v1-productfields.deleteproductfields with: ids: rest.ids outputParameters: - type: object mapping: $. - method: GET name: getproductfields description: Get all product fields call: v1-productfields.getproductfields with: start: rest.start limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: addproductfield description: Add a new product field call: v1-productfields.addproductfield with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/productfields/{id} name: productfields-id description: REST surface for productFields-id. operations: - method: DELETE name: deleteproductfield description: Delete a product field call: v1-productfields.deleteproductfield with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getproductfield description: Get one product field call: v1-productfields.getproductfield with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updateproductfield description: Update a product field call: v1-productfields.updateproductfield with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: v1-productfields-mcp port: 9090 transport: http description: MCP adapter for Pipedrive API v1 — ProductFields. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: delete-multiple-product-fields-bulk description: Delete multiple product fields in bulk hints: readOnly: false destructive: true idempotent: true call: v1-productfields.deleteproductfields with: ids: tools.ids outputParameters: - type: object mapping: $. - name: get-all-product-fields description: Get all product fields hints: readOnly: true destructive: false idempotent: true call: v1-productfields.getproductfields with: start: tools.start limit: tools.limit outputParameters: - type: object mapping: $. - name: add-new-product-field description: Add a new product field hints: readOnly: false destructive: false idempotent: false call: v1-productfields.addproductfield with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-product-field description: Delete a product field hints: readOnly: false destructive: true idempotent: true call: v1-productfields.deleteproductfield with: id: tools.id outputParameters: - type: object mapping: $. - name: get-one-product-field description: Get one product field hints: readOnly: true destructive: false idempotent: true call: v1-productfields.getproductfield with: id: tools.id outputParameters: - type: object mapping: $. - name: update-product-field description: Update a product field hints: readOnly: false destructive: false idempotent: true call: v1-productfields.updateproductfield with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.