naftiko: 1.0.0-alpha2 info: label: TVDB API V4 — Artwork description: 'TVDB API V4 — Artwork. 2 operations. Lead operation: Get Artwork Base. Self-contained Naftiko capability covering one TheTVDB business surface.' tags: - TheTVDB - Television - Artwork created: '2026-05-30' modified: '2026-05-30' binds: - namespace: env keys: TVDB_BEARER_TOKEN: TVDB_BEARER_TOKEN capability: consumes: - type: http namespace: v4-artwork baseUri: 'https://api4.thetvdb.com/v4' description: TVDB API V4 — Artwork business capability. Self-contained, no shared references. authentication: type: bearer token: '{{env.TVDB_BEARER_TOKEN}}' resources: - name: artwork-id path: '/artwork/{id}' operations: - name: getArtworkBase method: GET description: TheTVDB Get Artwork Base inputParameters: - name: id in: path type: number required: true description: id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: artwork-id-extended path: '/artwork/{id}/extended' operations: - name: getArtworkExtended method: GET description: TheTVDB Get Artwork Extended inputParameters: - name: id in: path type: number required: true description: id outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: v4-artwork-rest port: 8080 description: REST adapter for TVDB API V4 — Artwork. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/artwork/{id} name: artwork-id description: REST surface for artwork-id. operations: - method: GET name: getArtworkBase description: TheTVDB Get Artwork Base call: v4-artwork.getArtworkBase with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/artwork/{id}/extended name: artwork-id-extended description: REST surface for artwork-id-extended. operations: - method: GET name: getArtworkExtended description: TheTVDB Get Artwork Extended call: v4-artwork.getArtworkExtended with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: v4-artwork-mcp port: 9090 transport: http description: MCP adapter for TVDB API V4 — Artwork. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-artwork-base description: TheTVDB Get Artwork Base hints: readOnly: true destructive: false idempotent: true call: v4-artwork.getArtworkBase with: id: tools.id outputParameters: - type: object mapping: $. - name: get-artwork-extended description: TheTVDB Get Artwork Extended hints: readOnly: true destructive: false idempotent: true call: v4-artwork.getArtworkExtended with: id: tools.id outputParameters: - type: object mapping: $.