naftiko: 1.0.0-alpha2 info: label: Copper Developer API — Tasks description: 'Copper Developer API — Tasks. 5 operations. Lead operation: Create a Task. Self-contained Naftiko capability covering one Copper business surface.' tags: - Copper - Tasks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COPPER_API_KEY: COPPER_API_KEY capability: consumes: - type: http namespace: developer-tasks baseUri: https://api.copper.com/developer_api/v1 description: Copper Developer API — Tasks business capability. Self-contained, no shared references. resources: - name: tasks path: /tasks operations: - name: createtask method: POST description: Create a Task outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: tasks-search path: /tasks/search operations: - name: searchtasks method: POST description: Search Tasks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: tasks-id path: /tasks/{id} operations: - name: gettask method: GET description: Get a Task outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatetask method: PUT description: Update a Task outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletetask method: DELETE description: Delete a Task outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-PW-AccessToken value: '{{env.COPPER_API_KEY}}' placement: header exposes: - type: rest namespace: developer-tasks-rest port: 8080 description: REST adapter for Copper Developer API — Tasks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/tasks name: tasks description: REST surface for tasks. operations: - method: POST name: createtask description: Create a Task call: developer-tasks.createtask with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/tasks/search name: tasks-search description: REST surface for tasks-search. operations: - method: POST name: searchtasks description: Search Tasks call: developer-tasks.searchtasks with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/tasks/{id} name: tasks-id description: REST surface for tasks-id. operations: - method: GET name: gettask description: Get a Task call: developer-tasks.gettask outputParameters: - type: object mapping: $. - method: PUT name: updatetask description: Update a Task call: developer-tasks.updatetask with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletetask description: Delete a Task call: developer-tasks.deletetask outputParameters: - type: object mapping: $. - type: mcp namespace: developer-tasks-mcp port: 9090 transport: http description: MCP adapter for Copper Developer API — Tasks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-task description: Create a Task hints: readOnly: false destructive: false idempotent: false call: developer-tasks.createtask with: body: tools.body outputParameters: - type: object mapping: $. - name: search-tasks description: Search Tasks hints: readOnly: true destructive: false idempotent: false call: developer-tasks.searchtasks with: body: tools.body outputParameters: - type: object mapping: $. - name: get-task description: Get a Task hints: readOnly: true destructive: false idempotent: true call: developer-tasks.gettask outputParameters: - type: object mapping: $. - name: update-task description: Update a Task hints: readOnly: false destructive: false idempotent: true call: developer-tasks.updatetask with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-task description: Delete a Task hints: readOnly: false destructive: true idempotent: true call: developer-tasks.deletetask outputParameters: - type: object mapping: $.