naftiko: 1.0.0-alpha2 info: label: Basecamp API — To-Do Lists description: 'Basecamp API — To-Do Lists. 4 operations. Lead operation: Get a to-do list. Self-contained Naftiko capability covering one Basecamp business surface.' tags: - Basecamp - To-Do Lists created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BASECAMP_API_KEY: BASECAMP_API_KEY capability: consumes: - type: http namespace: basecamp-to-do-lists baseUri: https://3.basecampapi.com/{accountId} description: Basecamp API — To-Do Lists business capability. Self-contained, no shared references. resources: - name: todolists-todolistId}.json path: /todolists/{todolistId}.json operations: - name: gettodolist method: GET description: Get a to-do list outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatetodolist method: PUT description: Update a to-do list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: todosets-todosetId-todolists.json path: /todosets/{todosetId}/todolists.json operations: - name: listtodolists method: GET description: List to-do lists outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter by status. - name: createtodolist method: POST description: Create a to-do list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.BASECAMP_API_KEY}}' exposes: - type: rest namespace: basecamp-to-do-lists-rest port: 8080 description: REST adapter for Basecamp API — To-Do Lists. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/todolists/todolistid-json name: todolists-todolistid-json description: REST surface for todolists-todolistId}.json. operations: - method: GET name: gettodolist description: Get a to-do list call: basecamp-to-do-lists.gettodolist outputParameters: - type: object mapping: $. - method: PUT name: updatetodolist description: Update a to-do list call: basecamp-to-do-lists.updatetodolist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/todosets/{todosetid}/todolists-json name: todosets-todosetid-todolists-json description: REST surface for todosets-todosetId-todolists.json. operations: - method: GET name: listtodolists description: List to-do lists call: basecamp-to-do-lists.listtodolists with: status: rest.status outputParameters: - type: object mapping: $. - method: POST name: createtodolist description: Create a to-do list call: basecamp-to-do-lists.createtodolist with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: basecamp-to-do-lists-mcp port: 9090 transport: http description: MCP adapter for Basecamp API — To-Do Lists. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-do-list description: Get a to-do list hints: readOnly: true destructive: false idempotent: true call: basecamp-to-do-lists.gettodolist outputParameters: - type: object mapping: $. - name: update-do-list description: Update a to-do list hints: readOnly: false destructive: false idempotent: true call: basecamp-to-do-lists.updatetodolist with: body: tools.body outputParameters: - type: object mapping: $. - name: list-do-lists description: List to-do lists hints: readOnly: true destructive: false idempotent: true call: basecamp-to-do-lists.listtodolists with: status: tools.status outputParameters: - type: object mapping: $. - name: create-do-list description: Create a to-do list hints: readOnly: false destructive: false idempotent: false call: basecamp-to-do-lists.createtodolist with: body: tools.body outputParameters: - type: object mapping: $.