naftiko: 1.0.0-alpha2 info: label: Solaris Zones Management API — Zones description: 'Solaris Zones Management API — Zones. 20 operations. Lead operation: Solaris Zones Get Zone Details. Self-contained Naftiko capability covering one Solaris Zones business surface.' tags: - Solaris Zones - Zones created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SOLARIS_ZONES_API_KEY: SOLARIS_ZONES_API_KEY capability: consumes: - type: http namespace: management-zones baseUri: https://{host}:{port}/api/com.oracle.solaris.rad.zonemgr/1.6 description: Solaris Zones Management API — Zones business capability. Self-contained, no shared references. resources: - name: Zone-zoneName path: /Zone/{zoneName} operations: - name: getzone method: GET description: Solaris Zones Get Zone Details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-_rad_method-attach path: /Zone/{zoneName}/_rad_method/attach operations: - name: attachzone method: PUT description: Solaris Zones Attach a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: Zone-zoneName-_rad_method-boot path: /Zone/{zoneName}/_rad_method/boot operations: - name: bootzone method: PUT description: Solaris Zones Boot a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: Zone-zoneName-_rad_method-clone path: /Zone/{zoneName}/_rad_method/clone operations: - name: clonezone method: PUT description: Solaris Zones Clone a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: Zone-zoneName-_rad_method-detach path: /Zone/{zoneName}/_rad_method/detach operations: - name: detachzone method: PUT description: Solaris Zones Detach a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-_rad_method-exportConfig path: /Zone/{zoneName}/_rad_method/exportConfig operations: - name: exportzoneconfig method: PUT description: Solaris Zones Export Zone Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-_rad_method-halt path: /Zone/{zoneName}/_rad_method/halt operations: - name: haltzone method: PUT description: Solaris Zones Halt a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-_rad_method-install path: /Zone/{zoneName}/_rad_method/install operations: - name: installzone method: PUT description: Solaris Zones Install a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: Zone-zoneName-_rad_method-migrate path: /Zone/{zoneName}/_rad_method/migrate operations: - name: migratezone method: PUT description: Solaris Zones Migrate a Zone to a Remote Host outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: Zone-zoneName-_rad_method-ready path: /Zone/{zoneName}/_rad_method/ready operations: - name: readyzone method: PUT description: Solaris Zones Prepare a Zone for Running outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-_rad_method-reboot path: /Zone/{zoneName}/_rad_method/reboot operations: - name: rebootzone method: PUT description: Solaris Zones Reboot a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-_rad_method-shutdown path: /Zone/{zoneName}/_rad_method/shutdown operations: - name: shutdownzone method: PUT description: Solaris Zones Gracefully Shut Down a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-_rad_method-suspend path: /Zone/{zoneName}/_rad_method/suspend operations: - name: suspendzone method: PUT description: Solaris Zones Suspend a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-_rad_method-uninstall path: /Zone/{zoneName}/_rad_method/uninstall operations: - name: uninstallzone method: PUT description: Solaris Zones Uninstall a Zone outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-_rad_method-verify path: /Zone/{zoneName}/_rad_method/verify operations: - name: verifyzone method: PUT description: Solaris Zones Verify Zone Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-brand path: /Zone/{zoneName}/brand operations: - name: getzonebrand method: GET description: Solaris Zones Get Zone Brand outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-id path: /Zone/{zoneName}/id operations: - name: getzoneid method: GET description: Solaris Zones Get Zone Numeric Id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-name path: /Zone/{zoneName}/name operations: - name: getzonename method: GET description: Solaris Zones Get Zone Name Property outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-state path: /Zone/{zoneName}/state operations: - name: getzonestate method: GET description: Solaris Zones Get Zone State outputRawFormat: json outputParameters: - name: result type: object value: $. - name: Zone-zoneName-uuid path: /Zone/{zoneName}/uuid operations: - name: getzoneuuid method: GET description: Solaris Zones Get Zone Uuid outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: _rad_session value: '{{env.SOLARIS_ZONES_API_KEY}}' placement: cookie exposes: - type: rest namespace: management-zones-rest port: 8080 description: REST adapter for Solaris Zones Management API — Zones. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/zone/{zonename} name: zone-zonename description: REST surface for Zone-zoneName. operations: - method: GET name: getzone description: Solaris Zones Get Zone Details call: management-zones.getzone outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/attach name: zone-zonename-rad-method-attach description: REST surface for Zone-zoneName-_rad_method-attach. operations: - method: PUT name: attachzone description: Solaris Zones Attach a Zone call: management-zones.attachzone with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/boot name: zone-zonename-rad-method-boot description: REST surface for Zone-zoneName-_rad_method-boot. operations: - method: PUT name: bootzone description: Solaris Zones Boot a Zone call: management-zones.bootzone with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/clone name: zone-zonename-rad-method-clone description: REST surface for Zone-zoneName-_rad_method-clone. operations: - method: PUT name: clonezone description: Solaris Zones Clone a Zone call: management-zones.clonezone with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/detach name: zone-zonename-rad-method-detach description: REST surface for Zone-zoneName-_rad_method-detach. operations: - method: PUT name: detachzone description: Solaris Zones Detach a Zone call: management-zones.detachzone outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/exportconfig name: zone-zonename-rad-method-exportconfig description: REST surface for Zone-zoneName-_rad_method-exportConfig. operations: - method: PUT name: exportzoneconfig description: Solaris Zones Export Zone Configuration call: management-zones.exportzoneconfig outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/halt name: zone-zonename-rad-method-halt description: REST surface for Zone-zoneName-_rad_method-halt. operations: - method: PUT name: haltzone description: Solaris Zones Halt a Zone call: management-zones.haltzone outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/install name: zone-zonename-rad-method-install description: REST surface for Zone-zoneName-_rad_method-install. operations: - method: PUT name: installzone description: Solaris Zones Install a Zone call: management-zones.installzone with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/migrate name: zone-zonename-rad-method-migrate description: REST surface for Zone-zoneName-_rad_method-migrate. operations: - method: PUT name: migratezone description: Solaris Zones Migrate a Zone to a Remote Host call: management-zones.migratezone with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/ready name: zone-zonename-rad-method-ready description: REST surface for Zone-zoneName-_rad_method-ready. operations: - method: PUT name: readyzone description: Solaris Zones Prepare a Zone for Running call: management-zones.readyzone outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/reboot name: zone-zonename-rad-method-reboot description: REST surface for Zone-zoneName-_rad_method-reboot. operations: - method: PUT name: rebootzone description: Solaris Zones Reboot a Zone call: management-zones.rebootzone outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/shutdown name: zone-zonename-rad-method-shutdown description: REST surface for Zone-zoneName-_rad_method-shutdown. operations: - method: PUT name: shutdownzone description: Solaris Zones Gracefully Shut Down a Zone call: management-zones.shutdownzone outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/suspend name: zone-zonename-rad-method-suspend description: REST surface for Zone-zoneName-_rad_method-suspend. operations: - method: PUT name: suspendzone description: Solaris Zones Suspend a Zone call: management-zones.suspendzone outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/uninstall name: zone-zonename-rad-method-uninstall description: REST surface for Zone-zoneName-_rad_method-uninstall. operations: - method: PUT name: uninstallzone description: Solaris Zones Uninstall a Zone call: management-zones.uninstallzone outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/rad-method/verify name: zone-zonename-rad-method-verify description: REST surface for Zone-zoneName-_rad_method-verify. operations: - method: PUT name: verifyzone description: Solaris Zones Verify Zone Configuration call: management-zones.verifyzone outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/brand name: zone-zonename-brand description: REST surface for Zone-zoneName-brand. operations: - method: GET name: getzonebrand description: Solaris Zones Get Zone Brand call: management-zones.getzonebrand outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/id name: zone-zonename-id description: REST surface for Zone-zoneName-id. operations: - method: GET name: getzoneid description: Solaris Zones Get Zone Numeric Id call: management-zones.getzoneid outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/name name: zone-zonename-name description: REST surface for Zone-zoneName-name. operations: - method: GET name: getzonename description: Solaris Zones Get Zone Name Property call: management-zones.getzonename outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/state name: zone-zonename-state description: REST surface for Zone-zoneName-state. operations: - method: GET name: getzonestate description: Solaris Zones Get Zone State call: management-zones.getzonestate outputParameters: - type: object mapping: $. - path: /v1/zone/{zonename}/uuid name: zone-zonename-uuid description: REST surface for Zone-zoneName-uuid. operations: - method: GET name: getzoneuuid description: Solaris Zones Get Zone Uuid call: management-zones.getzoneuuid outputParameters: - type: object mapping: $. - type: mcp namespace: management-zones-mcp port: 9090 transport: http description: MCP adapter for Solaris Zones Management API — Zones. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: solaris-zones-get-zone-details description: Solaris Zones Get Zone Details hints: readOnly: true destructive: false idempotent: true call: management-zones.getzone outputParameters: - type: object mapping: $. - name: solaris-zones-attach-zone description: Solaris Zones Attach a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.attachzone with: body: tools.body outputParameters: - type: object mapping: $. - name: solaris-zones-boot-zone description: Solaris Zones Boot a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.bootzone with: body: tools.body outputParameters: - type: object mapping: $. - name: solaris-zones-clone-zone description: Solaris Zones Clone a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.clonezone with: body: tools.body outputParameters: - type: object mapping: $. - name: solaris-zones-detach-zone description: Solaris Zones Detach a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.detachzone outputParameters: - type: object mapping: $. - name: solaris-zones-export-zone-configuration description: Solaris Zones Export Zone Configuration hints: readOnly: false destructive: false idempotent: true call: management-zones.exportzoneconfig outputParameters: - type: object mapping: $. - name: solaris-zones-halt-zone description: Solaris Zones Halt a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.haltzone outputParameters: - type: object mapping: $. - name: solaris-zones-install-zone description: Solaris Zones Install a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.installzone with: body: tools.body outputParameters: - type: object mapping: $. - name: solaris-zones-migrate-zone-remote description: Solaris Zones Migrate a Zone to a Remote Host hints: readOnly: false destructive: false idempotent: true call: management-zones.migratezone with: body: tools.body outputParameters: - type: object mapping: $. - name: solaris-zones-prepare-zone-running description: Solaris Zones Prepare a Zone for Running hints: readOnly: false destructive: false idempotent: true call: management-zones.readyzone outputParameters: - type: object mapping: $. - name: solaris-zones-reboot-zone description: Solaris Zones Reboot a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.rebootzone outputParameters: - type: object mapping: $. - name: solaris-zones-gracefully-shut-down description: Solaris Zones Gracefully Shut Down a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.shutdownzone outputParameters: - type: object mapping: $. - name: solaris-zones-suspend-zone description: Solaris Zones Suspend a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.suspendzone outputParameters: - type: object mapping: $. - name: solaris-zones-uninstall-zone description: Solaris Zones Uninstall a Zone hints: readOnly: false destructive: false idempotent: true call: management-zones.uninstallzone outputParameters: - type: object mapping: $. - name: solaris-zones-verify-zone-configuration description: Solaris Zones Verify Zone Configuration hints: readOnly: false destructive: false idempotent: true call: management-zones.verifyzone outputParameters: - type: object mapping: $. - name: solaris-zones-get-zone-brand description: Solaris Zones Get Zone Brand hints: readOnly: true destructive: false idempotent: true call: management-zones.getzonebrand outputParameters: - type: object mapping: $. - name: solaris-zones-get-zone-numeric description: Solaris Zones Get Zone Numeric Id hints: readOnly: true destructive: false idempotent: true call: management-zones.getzoneid outputParameters: - type: object mapping: $. - name: solaris-zones-get-zone-name description: Solaris Zones Get Zone Name Property hints: readOnly: true destructive: false idempotent: true call: management-zones.getzonename outputParameters: - type: object mapping: $. - name: solaris-zones-get-zone-state description: Solaris Zones Get Zone State hints: readOnly: true destructive: false idempotent: true call: management-zones.getzonestate outputParameters: - type: object mapping: $. - name: solaris-zones-get-zone-uuid description: Solaris Zones Get Zone Uuid hints: readOnly: true destructive: false idempotent: true call: management-zones.getzoneuuid outputParameters: - type: object mapping: $.