naftiko: 1.0.0-alpha2 info: label: 1Password Connect Server API — Items description: '1Password Connect Server API — Items. 6 operations. Lead operation: 1Password List Items in a Vault. Self-contained Naftiko capability covering one 1password business surface.' tags: - 1password - Items created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: 1PASSWORD_API_KEY: 1PASSWORD_API_KEY capability: consumes: - type: http namespace: connect-items baseUri: http://localhost:8080 description: 1Password Connect Server API — Items business capability. Self-contained, no shared references. resources: - name: v1-vaults-vaultUuid-items path: /v1/vaults/{vaultUuid}/items operations: - name: listitems method: GET description: 1Password List Items in a Vault outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createitem method: POST description: 1Password Create a New Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-vaults-vaultUuid-items-itemUuid path: /v1/vaults/{vaultUuid}/items/{itemUuid} operations: - name: getitembyid method: GET description: 1Password Get Item Details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: replaceitem method: PUT description: 1Password Replace an Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: patchitem method: PATCH description: 1Password Update an Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteitem method: DELETE description: 1Password Delete an Item outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.1PASSWORD_API_KEY}}' exposes: - type: rest namespace: connect-items-rest port: 8080 description: REST adapter for 1Password Connect Server API — Items. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/vaults/{vaultuuid}/items name: v1-vaults-vaultuuid-items description: REST surface for v1-vaults-vaultUuid-items. operations: - method: GET name: listitems description: 1Password List Items in a Vault call: connect-items.listitems outputParameters: - type: object mapping: $. - method: POST name: createitem description: 1Password Create a New Item call: connect-items.createitem with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/vaults/{vaultuuid}/items/{itemuuid} name: v1-vaults-vaultuuid-items-itemuuid description: REST surface for v1-vaults-vaultUuid-items-itemUuid. operations: - method: GET name: getitembyid description: 1Password Get Item Details call: connect-items.getitembyid outputParameters: - type: object mapping: $. - method: PUT name: replaceitem description: 1Password Replace an Item call: connect-items.replaceitem with: body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: patchitem description: 1Password Update an Item call: connect-items.patchitem with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteitem description: 1Password Delete an Item call: connect-items.deleteitem outputParameters: - type: object mapping: $. - type: mcp namespace: connect-items-mcp port: 9090 transport: http description: MCP adapter for 1Password Connect Server API — Items. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: 1password-list-items-vault description: 1Password List Items in a Vault hints: readOnly: true destructive: false idempotent: true call: connect-items.listitems outputParameters: - type: object mapping: $. - name: 1password-create-new-item description: 1Password Create a New Item hints: readOnly: false destructive: false idempotent: false call: connect-items.createitem with: body: tools.body outputParameters: - type: object mapping: $. - name: 1password-get-item-details description: 1Password Get Item Details hints: readOnly: true destructive: false idempotent: true call: connect-items.getitembyid outputParameters: - type: object mapping: $. - name: 1password-replace-item description: 1Password Replace an Item hints: readOnly: false destructive: false idempotent: true call: connect-items.replaceitem with: body: tools.body outputParameters: - type: object mapping: $. - name: 1password-update-item description: 1Password Update an Item hints: readOnly: false destructive: false idempotent: true call: connect-items.patchitem with: body: tools.body outputParameters: - type: object mapping: $. - name: 1password-delete-item description: 1Password Delete an Item hints: readOnly: false destructive: true idempotent: true call: connect-items.deleteitem outputParameters: - type: object mapping: $.