naftiko: 1.0.0-alpha2 info: label: Mercedes-Benz Car Configurator API — Saved Configurations description: 'Mercedes-Benz Car Configurator API — Saved Configurations. Persist a configuration under an onlinecode and retrieve it later for sharing or restoration. Self-contained Naftiko capability.' tags: - Mercedes-Benz - Configurator - Saved Configurations - OnlineCode created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: MERCEDES_BENZ_API_KEY: MERCEDES_BENZ_API_KEY capability: consumes: - type: http namespace: configurator-saved-configurations baseUri: https://api.mercedes-benz.com description: Mercedes-Benz configurator save/restore — store a configuration under an onlineCode and retrieve it later. resources: - name: onlinecode path: /configurator/v1/markets/{marketId}/onlinecode operations: - name: createonlinecode method: POST description: Stores the configuration of the given configurationId and modelId. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: onlinecode-by-code path: /configurator/v1/markets/{marketId}/onlinecode/{onlineCode} operations: - name: getonlinecode method: GET description: Get the configuration of the given onlineCode and marketId. outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: apikey value: '{{env.MERCEDES_BENZ_API_KEY}}' placement: query exposes: - type: rest namespace: configurator-saved-configurations-rest port: 8080 description: REST adapter for save/restore configurator operations. resources: - path: /v1/markets/{market-id}/onlinecode name: onlinecode description: Create an online code for a configuration. operations: - method: POST name: createonlinecode description: Save Vehicle Configuration Under Online Code call: configurator-saved-configurations.createonlinecode outputParameters: - type: object mapping: $. - path: /v1/markets/{market-id}/onlinecode/{online-code} name: onlinecode-by-code description: Retrieve a saved configuration. operations: - method: GET name: getonlinecode description: Get Saved Vehicle Configuration By Online Code call: configurator-saved-configurations.getonlinecode outputParameters: - type: object mapping: $. - type: mcp namespace: configurator-saved-configurations-mcp port: 9090 transport: http description: MCP adapter exposing save/restore configurator tools. tools: - name: mercedes-save-configuration description: Save a Mercedes-Benz vehicle configuration under an online code. hints: readOnly: false destructive: false idempotent: false call: configurator-saved-configurations.createonlinecode outputParameters: - type: object mapping: $. - name: mercedes-get-saved-configuration description: Retrieve a Mercedes-Benz saved vehicle configuration by its online code. hints: readOnly: true destructive: false idempotent: true call: configurator-saved-configurations.getonlinecode outputParameters: - type: object mapping: $.