naftiko: 1.0.0-alpha2 info: label: ArchiMate Model Exchange API — Relationships description: 'ArchiMate Model Exchange API — Relationships. 1 operations. Lead operation: ArchiMate List Relationships. Self-contained Naftiko capability covering one Archimate business surface.' tags: - Archimate - Relationships created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ARCHIMATE_API_KEY: ARCHIMATE_API_KEY capability: consumes: - type: http namespace: model-exchange-relationships baseUri: https://api.archimate-tools.com/v1 description: ArchiMate Model Exchange API — Relationships business capability. Self-contained, no shared references. resources: - name: models-modelId-relationships path: /models/{modelId}/relationships operations: - name: listrelationships method: GET description: ArchiMate List Relationships outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: modelId in: path type: string description: Model identifier required: true - name: type in: query type: string description: Filter by relationship type authentication: type: bearer token: '{{env.ARCHIMATE_API_KEY}}' exposes: - type: rest namespace: model-exchange-relationships-rest port: 8080 description: REST adapter for ArchiMate Model Exchange API — Relationships. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/models/{modelid}/relationships name: models-modelid-relationships description: REST surface for models-modelId-relationships. operations: - method: GET name: listrelationships description: ArchiMate List Relationships call: model-exchange-relationships.listrelationships with: modelId: rest.modelId type: rest.type outputParameters: - type: object mapping: $. - type: mcp namespace: model-exchange-relationships-mcp port: 9090 transport: http description: MCP adapter for ArchiMate Model Exchange API — Relationships. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: archimate-list-relationships description: ArchiMate List Relationships hints: readOnly: true destructive: false idempotent: true call: model-exchange-relationships.listrelationships with: modelId: tools.modelId type: tools.type outputParameters: - type: object mapping: $.