naftiko: 1.0.0-alpha2 info: label: Ironclad Clickwrap API — Contracts description: 'Ironclad Clickwrap API — Contracts. 2 operations. Lead operation: List contracts. Self-contained Naftiko capability covering one Ironclad Clickwrap business surface.' tags: - Ironclad Clickwrap - Contracts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: IRONCLAD_CLICKWRAP_API_KEY: IRONCLAD_CLICKWRAP_API_KEY capability: consumes: - type: http namespace: ironclad-clickwrap-contracts baseUri: https://pactsafe.io description: Ironclad Clickwrap API — Contracts business capability. Self-contained, no shared references. resources: - name: contracts path: /contracts operations: - name: listcontracts method: GET description: List contracts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: contracts-contractId path: /contracts/{contractId} operations: - name: getcontract method: GET description: Get a contract outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.IRONCLAD_CLICKWRAP_API_KEY}}' exposes: - type: rest namespace: ironclad-clickwrap-contracts-rest port: 8080 description: REST adapter for Ironclad Clickwrap API — Contracts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/contracts name: contracts description: REST surface for contracts. operations: - method: GET name: listcontracts description: List contracts call: ironclad-clickwrap-contracts.listcontracts outputParameters: - type: object mapping: $. - path: /v1/contracts/{contractid} name: contracts-contractid description: REST surface for contracts-contractId. operations: - method: GET name: getcontract description: Get a contract call: ironclad-clickwrap-contracts.getcontract outputParameters: - type: object mapping: $. - type: mcp namespace: ironclad-clickwrap-contracts-mcp port: 9090 transport: http description: MCP adapter for Ironclad Clickwrap API — Contracts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-contracts description: List contracts hints: readOnly: true destructive: false idempotent: true call: ironclad-clickwrap-contracts.listcontracts outputParameters: - type: object mapping: $. - name: get-contract description: Get a contract hints: readOnly: true destructive: false idempotent: true call: ironclad-clickwrap-contracts.getcontract outputParameters: - type: object mapping: $.