naftiko: 1.0.0-alpha2 info: label: Box Platform API — Groups description: 'Box Platform API — Groups. 5 operations. Lead operation: Box List groups for enterprise. Self-contained Naftiko capability covering one Box business surface.' tags: - Box - Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BOX_API_KEY: BOX_API_KEY capability: consumes: - type: http namespace: box-groups baseUri: https://api.box.com/2.0 description: Box Platform API — Groups business capability. Self-contained, no shared references. resources: - name: groups path: /groups operations: - name: getgroups method: GET description: Box List groups for enterprise outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter_term in: query type: string description: Limits the results to only groups whose `name` starts - name: fields in: query type: array description: A comma-separated list of attributes to include in the - name: limit in: query type: integer description: The maximum number of items to return per page. - name: offset in: query type: integer description: The offset of the item at which to begin the response. - name: postgroups method: POST description: Box Create group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: array description: A comma-separated list of attributes to include in the - name: body in: body type: object description: Request body (JSON). required: false - name: groups-group_id path: /groups/{group_id} operations: - name: getgroupsid method: GET description: Box Get group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: group_id in: path type: string description: The ID of the group. required: true - name: fields in: query type: array description: A comma-separated list of attributes to include in the - name: putgroupsid method: PUT description: Box Update group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: group_id in: path type: string description: The ID of the group. required: true - name: fields in: query type: array description: A comma-separated list of attributes to include in the - name: body in: body type: object description: Request body (JSON). required: false - name: deletegroupsid method: DELETE description: Box Remove group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: group_id in: path type: string description: The ID of the group. required: true authentication: type: bearer token: '{{env.BOX_API_KEY}}' exposes: - type: rest namespace: box-groups-rest port: 8080 description: REST adapter for Box Platform API — Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/groups name: groups description: REST surface for groups. operations: - method: GET name: getgroups description: Box List groups for enterprise call: box-groups.getgroups with: filter_term: rest.filter_term fields: rest.fields limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: postgroups description: Box Create group call: box-groups.postgroups with: fields: rest.fields body: rest.body outputParameters: - type: object mapping: $. - path: /v1/groups/{group-id} name: groups-group-id description: REST surface for groups-group_id. operations: - method: GET name: getgroupsid description: Box Get group call: box-groups.getgroupsid with: group_id: rest.group_id fields: rest.fields outputParameters: - type: object mapping: $. - method: PUT name: putgroupsid description: Box Update group call: box-groups.putgroupsid with: group_id: rest.group_id fields: rest.fields body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletegroupsid description: Box Remove group call: box-groups.deletegroupsid with: group_id: rest.group_id outputParameters: - type: object mapping: $. - type: mcp namespace: box-groups-mcp port: 9090 transport: http description: MCP adapter for Box Platform API — Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: box-list-groups-enterprise description: Box List groups for enterprise hints: readOnly: true destructive: false idempotent: true call: box-groups.getgroups with: filter_term: tools.filter_term fields: tools.fields limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: box-create-group description: Box Create group hints: readOnly: false destructive: false idempotent: false call: box-groups.postgroups with: fields: tools.fields body: tools.body outputParameters: - type: object mapping: $. - name: box-get-group description: Box Get group hints: readOnly: true destructive: false idempotent: true call: box-groups.getgroupsid with: group_id: tools.group_id fields: tools.fields outputParameters: - type: object mapping: $. - name: box-update-group description: Box Update group hints: readOnly: false destructive: false idempotent: true call: box-groups.putgroupsid with: group_id: tools.group_id fields: tools.fields body: tools.body outputParameters: - type: object mapping: $. - name: box-remove-group description: Box Remove group hints: readOnly: false destructive: true idempotent: true call: box-groups.deletegroupsid with: group_id: tools.group_id outputParameters: - type: object mapping: $.