naftiko: 1.0.0-alpha2 info: label: Oracle Database Oracle REST Data Services (ORDS) API — PDB Snapshots description: 'Oracle Database Oracle REST Data Services (ORDS) API — PDB Snapshots. 7 operations. Lead operation: Oracle Database Get snapshot mode. Self-contained Naftiko capability covering one Oracle Database business surface.' tags: - Oracle Database - PDB Snapshots created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ORACLE_DATABASE_API_KEY: ORACLE_DATABASE_API_KEY capability: consumes: - type: http namespace: ords-pdb-snapshots baseUri: https://{host}:{port}/ords description: Oracle Database Oracle REST Data Services (ORDS) API — PDB Snapshots business capability. Self-contained, no shared references. resources: - name: database-snapshot_mode path: /database/snapshot_mode operations: - name: getsnapshotmode method: GET description: Oracle Database Get snapshot mode outputRawFormat: json outputParameters: - name: result type: object value: $. - name: database-snapshots path: /database/snapshots/ operations: - name: getsnapshots method: GET description: Oracle Database Get all PDB snapshots outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsnapshot method: POST description: Oracle Database Create a PDB snapshot outputRawFormat: json outputParameters: - name: result type: object value: $. - name: configureautosnapshots method: PUT description: Oracle Database Configure automatic snapshots outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: database-snapshots-snapshot_name path: /database/snapshots/{snapshot_name} operations: - name: getsnapshot method: GET description: Oracle Database Get a specific snapshot outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: snapshot_name in: path type: string required: true - name: createnamedsnapshot method: POST description: Oracle Database Create a named PDB snapshot outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: snapshot_name in: path type: string required: true - name: deletesnapshot method: DELETE description: Oracle Database Delete a PDB snapshot outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: snapshot_name in: path type: string required: true authentication: type: bearer token: '{{env.ORACLE_DATABASE_API_KEY}}' exposes: - type: rest namespace: ords-pdb-snapshots-rest port: 8080 description: REST adapter for Oracle Database Oracle REST Data Services (ORDS) API — PDB Snapshots. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/database/snapshot-mode name: database-snapshot-mode description: REST surface for database-snapshot_mode. operations: - method: GET name: getsnapshotmode description: Oracle Database Get snapshot mode call: ords-pdb-snapshots.getsnapshotmode outputParameters: - type: object mapping: $. - path: /v1/database/snapshots name: database-snapshots description: REST surface for database-snapshots. operations: - method: GET name: getsnapshots description: Oracle Database Get all PDB snapshots call: ords-pdb-snapshots.getsnapshots outputParameters: - type: object mapping: $. - method: POST name: createsnapshot description: Oracle Database Create a PDB snapshot call: ords-pdb-snapshots.createsnapshot outputParameters: - type: object mapping: $. - method: PUT name: configureautosnapshots description: Oracle Database Configure automatic snapshots call: ords-pdb-snapshots.configureautosnapshots with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/database/snapshots/{snapshot-name} name: database-snapshots-snapshot-name description: REST surface for database-snapshots-snapshot_name. operations: - method: GET name: getsnapshot description: Oracle Database Get a specific snapshot call: ords-pdb-snapshots.getsnapshot with: snapshot_name: rest.snapshot_name outputParameters: - type: object mapping: $. - method: POST name: createnamedsnapshot description: Oracle Database Create a named PDB snapshot call: ords-pdb-snapshots.createnamedsnapshot with: snapshot_name: rest.snapshot_name outputParameters: - type: object mapping: $. - method: DELETE name: deletesnapshot description: Oracle Database Delete a PDB snapshot call: ords-pdb-snapshots.deletesnapshot with: snapshot_name: rest.snapshot_name outputParameters: - type: object mapping: $. - type: mcp namespace: ords-pdb-snapshots-mcp port: 9090 transport: http description: MCP adapter for Oracle Database Oracle REST Data Services (ORDS) API — PDB Snapshots. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: oracle-database-get-snapshot-mode description: Oracle Database Get snapshot mode hints: readOnly: true destructive: false idempotent: true call: ords-pdb-snapshots.getsnapshotmode outputParameters: - type: object mapping: $. - name: oracle-database-get-all-pdb description: Oracle Database Get all PDB snapshots hints: readOnly: true destructive: false idempotent: true call: ords-pdb-snapshots.getsnapshots outputParameters: - type: object mapping: $. - name: oracle-database-create-pdb-snapshot description: Oracle Database Create a PDB snapshot hints: readOnly: false destructive: false idempotent: false call: ords-pdb-snapshots.createsnapshot outputParameters: - type: object mapping: $. - name: oracle-database-configure-automatic-snapshots description: Oracle Database Configure automatic snapshots hints: readOnly: false destructive: false idempotent: true call: ords-pdb-snapshots.configureautosnapshots with: body: tools.body outputParameters: - type: object mapping: $. - name: oracle-database-get-specific-snapshot description: Oracle Database Get a specific snapshot hints: readOnly: true destructive: false idempotent: true call: ords-pdb-snapshots.getsnapshot with: snapshot_name: tools.snapshot_name outputParameters: - type: object mapping: $. - name: oracle-database-create-named-pdb description: Oracle Database Create a named PDB snapshot hints: readOnly: false destructive: false idempotent: false call: ords-pdb-snapshots.createnamedsnapshot with: snapshot_name: tools.snapshot_name outputParameters: - type: object mapping: $. - name: oracle-database-delete-pdb-snapshot description: Oracle Database Delete a PDB snapshot hints: readOnly: false destructive: true idempotent: true call: ords-pdb-snapshots.deletesnapshot with: snapshot_name: tools.snapshot_name outputParameters: - type: object mapping: $.