Portworx · Capability

OpenStorage SDK — OpenStorageDiags

OpenStorage SDK — OpenStorageDiags. 1 operations. Lead operation: Collect starts a job to collect diagnostics from set of nodes that are selected based on the selectors provided in the SdkDiagsCollectRequest. See SdkDiagsCollectRequest for more details on how to select the nodes Returns SdkDiagsCollectResponse which has the job that is responsible for collecting the diags.. Self-contained Naftiko

Run with Naftiko PortworxOpenStorageDiags

What You Can Do

POST
Openstoragediagscollect — Collect starts a job to collect diagnostics from set of nodes that are selected based on the selectors provided
/v1/v1/diags

MCP Tools

collect-starts-job-collect-diagnostics

Collect starts a job to collect diagnostics from set of nodes that are selected based on the selectors provided

Capability Spec

portworx-openstoragediags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: OpenStorage SDK — OpenStorageDiags
  description: 'OpenStorage SDK — OpenStorageDiags. 1 operations. Lead operation: Collect starts a job to collect diagnostics
    from set of nodes that are selected based on the selectors provided

    in the SdkDiagsCollectRequest. See SdkDiagsCollectRequest for more details on how to select the nodes

    Returns SdkDiagsCollectResponse which has the job that is responsible for collecting the diags.. Self-contained Naftiko '
  tags:
  - Portworx
  - OpenStorageDiags
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PORTWORX_API_KEY: PORTWORX_API_KEY
capability:
  consumes:
  - type: http
    namespace: portworx-openstoragediags
    baseUri: ''
    description: OpenStorage SDK — OpenStorageDiags business capability. Self-contained, no shared references.
    resources:
    - name: v1-diags
      path: /v1/diags
      operations:
      - name: openstoragediagscollect
        method: POST
        description: Collect starts a job to collect diagnostics from set of nodes that are selected based on the selectors
          provided
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.PORTWORX_API_KEY}}'
  exposes:
  - type: rest
    namespace: portworx-openstoragediags-rest
    port: 8080
    description: REST adapter for OpenStorage SDK — OpenStorageDiags. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/diags
      name: v1-diags
      description: REST surface for v1-diags.
      operations:
      - method: POST
        name: openstoragediagscollect
        description: Collect starts a job to collect diagnostics from set of nodes that are selected based on the selectors
          provided
        call: portworx-openstoragediags.openstoragediagscollect
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: portworx-openstoragediags-mcp
    port: 9090
    transport: http
    description: MCP adapter for OpenStorage SDK — OpenStorageDiags. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: collect-starts-job-collect-diagnostics
      description: Collect starts a job to collect diagnostics from set of nodes that are selected based on the selectors
        provided
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: portworx-openstoragediags.openstoragediagscollect
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.