naftiko: 1.0.0-alpha2 info: label: Union Pacific API — Account description: 'Union Pacific API — Account. 1 operations. Lead operation: List Accounts. Self-contained Naftiko capability covering one Union Pacific business surface.' tags: - Union Pacific - Account created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNION_PACIFIC_API_KEY: UNION_PACIFIC_API_KEY capability: consumes: - type: http namespace: union-pacific-account baseUri: https://api.up.com description: Union Pacific API — Account business capability. Self-contained, no shared references. resources: - name: account path: /account operations: - name: listaccounts method: GET description: List Accounts outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: union-pacific-account-rest port: 8080 description: REST adapter for Union Pacific API — Account. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/account name: account description: REST surface for account. operations: - method: GET name: listaccounts description: List Accounts call: union-pacific-account.listaccounts outputParameters: - type: object mapping: $. - type: mcp namespace: union-pacific-account-mcp port: 9090 transport: http description: MCP adapter for Union Pacific API — Account. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-accounts description: List Accounts hints: readOnly: true destructive: false idempotent: true call: union-pacific-account.listaccounts outputParameters: - type: object mapping: $.