naftiko: "1.0.0-alpha2" info: label: "1Forge Forex Data API — Convert" description: >- Convert — Convert a numeric quantity from one currency into another at the current 1Forge rate. 1 operation. Lead operation: 1Forge Convert Currency Amount. Self-contained Naftiko capability covering one 1Forge business surface. tags: - 1Forge - Forex Data API - Convert created: "2026-05-28" modified: "2026-05-28" binds: - namespace: env keys: ONEFORGE_API_KEY: ONEFORGE_API_KEY capability: consumes: - type: http namespace: "forex-data-api-convert" baseUri: "https://api.1forge.com" description: "1Forge Forex Data API — Convert business capability. Self-contained, no shared references." authentication: type: apikey key: api_key value: "{{env.ONEFORGE_API_KEY}}" placement: query resources: - name: "convert" path: "/convert" operations: - name: "convertCurrency" method: GET description: "1Forge Convert Currency Amount." inputParameters: - name: "from" in: query type: string required: true description: "ISO 4217 source currency code." - name: "to" in: query type: string required: true description: "ISO 4217 destination currency code." - name: "quantity" in: query type: object required: true description: "Numeric amount of the source currency to convert." outputRawFormat: json outputParameters: - name: result type: object value: "$." exposes: - type: rest namespace: "forex-data-api-convert-rest" port: 8080 description: "REST adapter for 1Forge Forex Data API — Convert. One Spectral-compliant resource per consumed operation, prefixed with /v1." resources: - path: "/v1/conversions" name: "conversions" description: "REST surface for currency conversion at current market rate." operations: - method: GET name: "convertCurrency" description: "1Forge Convert Currency Amount." call: "forex-data-api-convert.convertCurrency" with: "from": "rest.from" "to": "rest.to" "quantity": "rest.quantity" outputParameters: - type: object mapping: "$." - type: mcp namespace: "forex-data-api-convert-mcp" port: 9090 transport: http description: "MCP adapter for 1Forge Forex Data API — Convert. One tool per consumed operation, routed inline through this capability's consumes block." tools: - name: "convert-currency" description: "1Forge Convert Currency Amount." hints: readOnly: true destructive: false idempotent: true call: "forex-data-api-convert.convertCurrency" with: "from": "tools.from" "to": "tools.to" "quantity": "tools.quantity" outputParameters: - type: object mapping: "$."