naftiko: 1.0.0-alpha2 info: label: Wrike API — Custom Fields description: 'Wrike API — Custom Fields. 2 operations. Lead operation: List Custom Fields. Self-contained Naftiko capability covering one Wrike business surface.' tags: - Wrike - Custom Fields created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WRIKE_API_KEY: WRIKE_API_KEY capability: consumes: - type: http namespace: wrike-custom-fields baseUri: https://www.wrike.com/api/v4 description: Wrike API — Custom Fields business capability. Self-contained, no shared references. resources: - name: accounts-accountId-customfields path: /accounts/{accountId}/customfields operations: - name: listcustomfields method: GET description: List Custom Fields outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountId in: path type: string required: true - name: createcustomfield method: POST description: Create Custom Field outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.WRIKE_API_KEY}}' exposes: - type: rest namespace: wrike-custom-fields-rest port: 8080 description: REST adapter for Wrike API — Custom Fields. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/{accountid}/customfields name: accounts-accountid-customfields description: REST surface for accounts-accountId-customfields. operations: - method: GET name: listcustomfields description: List Custom Fields call: wrike-custom-fields.listcustomfields with: accountId: rest.accountId outputParameters: - type: object mapping: $. - method: POST name: createcustomfield description: Create Custom Field call: wrike-custom-fields.createcustomfield with: accountId: rest.accountId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: wrike-custom-fields-mcp port: 9090 transport: http description: MCP adapter for Wrike API — Custom Fields. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-custom-fields description: List Custom Fields hints: readOnly: true destructive: false idempotent: true call: wrike-custom-fields.listcustomfields with: accountId: tools.accountId outputParameters: - type: object mapping: $. - name: create-custom-field description: Create Custom Field hints: readOnly: false destructive: false idempotent: false call: wrike-custom-fields.createcustomfield with: accountId: tools.accountId body: tools.body outputParameters: - type: object mapping: $.