naftiko: 1.0.0-alpha2 info: label: Abstract API - Avatars API — Avatars description: 'Abstract API - Avatars API — Avatars. 1 operations. Lead operation: Abstract API Generate Avatar. Self-contained Naftiko capability covering one Abstract Api business surface.' tags: - Abstract Api - Avatars created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ABSTRACT_API_API_KEY: ABSTRACT_API_API_KEY capability: consumes: - type: http namespace: avatars-avatars baseUri: https://avatars.abstractapi.com/v1 description: Abstract API - Avatars API — Avatars business capability. Self-contained, no shared references. resources: - name: root path: / operations: - name: generateavatar method: GET description: Abstract API Generate Avatar outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: api_key in: query type: string description: Your unique API key for the Avatars API. required: true - name: name in: query type: string description: Full name or initials to use for the avatar. required: true - name: size in: query type: integer description: Size of the avatar in pixels (square). Defaults to 128. - name: color in: query type: string description: Text color as a hex code (without - name: background_color in: query type: string description: Background color as a hex code (without - name: font_size in: query type: number description: Font size as a fraction of the avatar size (0.1 to 0.9). - name: char_count in: query type: integer description: Number of characters to use from the name. Defaults to 2. authentication: type: apikey key: api_key value: '{{env.ABSTRACT_API_API_KEY}}' placement: query exposes: - type: rest namespace: avatars-avatars-rest port: 8080 description: REST adapter for Abstract API - Avatars API — Avatars. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1 name: root description: REST surface for root. operations: - method: GET name: generateavatar description: Abstract API Generate Avatar call: avatars-avatars.generateavatar with: api_key: rest.api_key name: rest.name size: rest.size color: rest.color background_color: rest.background_color font_size: rest.font_size char_count: rest.char_count outputParameters: - type: object mapping: $. - type: mcp namespace: avatars-avatars-mcp port: 9090 transport: http description: MCP adapter for Abstract API - Avatars API — Avatars. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: abstract-api-generate-avatar description: Abstract API Generate Avatar hints: readOnly: true destructive: false idempotent: true call: avatars-avatars.generateavatar with: api_key: tools.api_key name: tools.name size: tools.size color: tools.color background_color: tools.background_color font_size: tools.font_size char_count: tools.char_count outputParameters: - type: object mapping: $.