naftiko: 1.0.0-alpha2 info: label: Oracle EBS Human Resources API — Organization description: 'Oracle EBS Human Resources API — Organization. 2 operations. Lead operation: Retrieve Hr Organizations. Self-contained Naftiko capability covering one Oracle E Business Suite business surface.' tags: - Oracle E Business Suite - Organization created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ORACLE_E_BUSINESS_SUITE_API_KEY: ORACLE_E_BUSINESS_SUITE_API_KEY capability: consumes: - type: http namespace: human-resources-organization baseUri: https://{instance}.oracle.com/webservices/rest description: Oracle EBS Human Resources API — Organization business capability. Self-contained, no shared references. resources: - name: hr-organizations path: /hr/organizations operations: - name: getorganizations method: GET description: Retrieve Hr Organizations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: query type: integer description: Organization identifier - name: name in: query type: string description: Organization name (supports wildcards) - name: businessGroupId in: query type: integer description: Business group identifier - name: hr-positions path: /hr/positions operations: - name: getpositions method: GET description: Retrieve Hr Positions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: positionId in: query type: integer description: Position identifier - name: name in: query type: string description: Position name (supports wildcards) - name: organizationId in: query type: integer description: Organization identifier - name: effectiveDate in: query type: string description: Effective date (YYYY-MM-DD) authentication: type: apikey key: accessToken value: '{{env.ORACLE_E_BUSINESS_SUITE_API_KEY}}' placement: cookie exposes: - type: rest namespace: human-resources-organization-rest port: 8080 description: REST adapter for Oracle EBS Human Resources API — Organization. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/hr/organizations name: hr-organizations description: REST surface for hr-organizations. operations: - method: GET name: getorganizations description: Retrieve Hr Organizations call: human-resources-organization.getorganizations with: organizationId: rest.organizationId name: rest.name businessGroupId: rest.businessGroupId outputParameters: - type: object mapping: $. - path: /v1/hr/positions name: hr-positions description: REST surface for hr-positions. operations: - method: GET name: getpositions description: Retrieve Hr Positions call: human-resources-organization.getpositions with: positionId: rest.positionId name: rest.name organizationId: rest.organizationId effectiveDate: rest.effectiveDate outputParameters: - type: object mapping: $. - type: mcp namespace: human-resources-organization-mcp port: 9090 transport: http description: MCP adapter for Oracle EBS Human Resources API — Organization. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-hr-organizations description: Retrieve Hr Organizations hints: readOnly: true destructive: false idempotent: true call: human-resources-organization.getorganizations with: organizationId: tools.organizationId name: tools.name businessGroupId: tools.businessGroupId outputParameters: - type: object mapping: $. - name: retrieve-hr-positions description: Retrieve Hr Positions hints: readOnly: true destructive: false idempotent: true call: human-resources-organization.getpositions with: positionId: tools.positionId name: tools.name organizationId: tools.organizationId effectiveDate: tools.effectiveDate outputParameters: - type: object mapping: $.