Argo Workflows · Capability

Argo Workflows — ClusterWorkflowTemplateService

Argo Workflows — ClusterWorkflowTemplateService. 6 operations. Lead operation: ClusterWorkflowTemplateService. Self-contained Naftiko capability covering one Argo Workflows business surface.

Run with Naftiko Argo WorkflowsClusterWorkflowTemplateService

What You Can Do

GET
Clusterworkflowtemplateservicelistclusterworkflowtemplates — clusterworkflowtemplateservicelistclusterworkflowtemplates
/v1/api/v1/cluster-workflow-templates
POST
Clusterworkflowtemplateservicecreateclusterworkflowtemplate — clusterworkflowtemplateservicecreateclusterworkflowtemplate
/v1/api/v1/cluster-workflow-templates
POST
Clusterworkflowtemplateservicelintclusterworkflowtemplate — clusterworkflowtemplateservicelintclusterworkflowtemplate
/v1/api/v1/cluster-workflow-templates/lint
GET
Clusterworkflowtemplateservicegetclusterworkflowtemplate — clusterworkflowtemplateservicegetclusterworkflowtemplate
/v1/api/v1/cluster-workflow-templates/{name}
PUT
Clusterworkflowtemplateserviceupdateclusterworkflowtemplate — clusterworkflowtemplateserviceupdateclusterworkflowtemplate
/v1/api/v1/cluster-workflow-templates/{name}
DELETE
Clusterworkflowtemplateservicedeleteclusterworkflowtemplate — clusterworkflowtemplateservicedeleteclusterworkflowtemplate
/v1/api/v1/cluster-workflow-templates/{name}

MCP Tools

clusterworkflowtemplateservicelistclusterworkflowtemplates

clusterworkflowtemplateservicelistclusterworkflowtemplates

read-only idempotent
clusterworkflowtemplateservicecreateclusterworkflowtemplate

clusterworkflowtemplateservicecreateclusterworkflowtemplate

clusterworkflowtemplateservicelintclusterworkflowtemplate

clusterworkflowtemplateservicelintclusterworkflowtemplate

clusterworkflowtemplateservicegetclusterworkflowtemplate

clusterworkflowtemplateservicegetclusterworkflowtemplate

read-only idempotent
clusterworkflowtemplateserviceupdateclusterworkflowtemplate

clusterworkflowtemplateserviceupdateclusterworkflowtemplate

idempotent
clusterworkflowtemplateservicedeleteclusterworkflowtemplate

clusterworkflowtemplateservicedeleteclusterworkflowtemplate

idempotent

Capability Spec

argo-workflows-clusterworkflowtemplateservice.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Argo Workflows — ClusterWorkflowTemplateService
  description: 'Argo Workflows — ClusterWorkflowTemplateService. 6 operations. Lead operation: ClusterWorkflowTemplateService.
    Self-contained Naftiko capability covering one Argo Workflows business surface.'
  tags:
  - Argo Workflows
  - ClusterWorkflowTemplateService
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ARGO_WORKFLOWS_API_KEY: ARGO_WORKFLOWS_API_KEY
capability:
  consumes:
  - type: http
    namespace: argo-workflows-clusterworkflowtemplateservice
    baseUri: http://localhost:2746
    description: Argo Workflows — ClusterWorkflowTemplateService business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-cluster-workflow-templates
      path: /api/v1/cluster-workflow-templates
      operations:
      - name: clusterworkflowtemplateservicelistclusterworkflowtemplates
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: listOptions.labelSelector
          in: query
          type: string
          description: A selector to restrict the list of returned objects by their labels.
        - name: listOptions.fieldSelector
          in: query
          type: string
          description: A selector to restrict the list of returned objects by their fields.
        - name: listOptions.watch
          in: query
          type: boolean
          description: Watch for changes to the described resources and return them as a stream of
        - name: listOptions.allowWatchBookmarks
          in: query
          type: boolean
          description: allowWatchBookmarks requests watch events with type "BOOKMARK".
        - name: listOptions.resourceVersion
          in: query
          type: string
          description: resourceVersion sets a constraint on what resource versions a request may be served from.
        - name: listOptions.resourceVersionMatch
          in: query
          type: string
          description: resourceVersionMatch determines how resourceVersion is applied to list calls.
        - name: listOptions.timeoutSeconds
          in: query
          type: string
          description: Timeout for the list/watch call.
        - name: listOptions.limit
          in: query
          type: string
          description: limit is a maximum number of responses to return for a list call. If more items exist, the
        - name: listOptions.continue
          in: query
          type: string
          description: The continue option should be set when retrieving more results from the server. Since this value is
        - name: listOptions.sendInitialEvents
          in: query
          type: boolean
          description: '`sendInitialEvents=true` may be set together with `watch=true`.'
      - name: clusterworkflowtemplateservicecreateclusterworkflowtemplate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          required: true
    - name: api-v1-cluster-workflow-templates-lint
      path: /api/v1/cluster-workflow-templates/lint
      operations:
      - name: clusterworkflowtemplateservicelintclusterworkflowtemplate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          required: true
    - name: api-v1-cluster-workflow-templates-name
      path: /api/v1/cluster-workflow-templates/{name}
      operations:
      - name: clusterworkflowtemplateservicegetclusterworkflowtemplate
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: getOptions.resourceVersion
          in: query
          type: string
          description: resourceVersion sets a constraint on what resource versions a request may be served from.
      - name: clusterworkflowtemplateserviceupdateclusterworkflowtemplate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: 'DEPRECATED: This field is ignored.'
          required: true
        - name: body
          in: body
          type: string
          required: true
      - name: clusterworkflowtemplateservicedeleteclusterworkflowtemplate
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: deleteOptions.gracePeriodSeconds
          in: query
          type: string
          description: The duration in seconds before the object should be deleted. Value must be non-negative integer.
        - name: deleteOptions.preconditions.uid
          in: query
          type: string
          description: Specifies the target UID.
        - name: deleteOptions.preconditions.resourceVersion
          in: query
          type: string
          description: Specifies the target ResourceVersion
        - name: deleteOptions.orphanDependents
          in: query
          type: boolean
          description: 'Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.'
        - name: deleteOptions.propagationPolicy
          in: query
          type: string
          description: Whether and how garbage collection will be performed.
        - name: deleteOptions.dryRun
          in: query
          type: array
          description: When present, indicates that modifications should not be
        - name: deleteOptions.ignoreStoreReadErrorWithClusterBreakingPotential
          in: query
          type: boolean
          description: if set to true, it will trigger an unsafe deletion of the resource in
  exposes:
  - type: rest
    namespace: argo-workflows-clusterworkflowtemplateservice-rest
    port: 8080
    description: REST adapter for Argo Workflows — ClusterWorkflowTemplateService. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/v1/cluster-workflow-templates
      name: api-v1-cluster-workflow-templates
      description: REST surface for api-v1-cluster-workflow-templates.
      operations:
      - method: GET
        name: clusterworkflowtemplateservicelistclusterworkflowtemplates
        description: clusterworkflowtemplateservicelistclusterworkflowtemplates
        call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicelistclusterworkflowtemplates
        with:
          listOptions.labelSelector: rest.listOptions.labelSelector
          listOptions.fieldSelector: rest.listOptions.fieldSelector
          listOptions.watch: rest.listOptions.watch
          listOptions.allowWatchBookmarks: rest.listOptions.allowWatchBookmarks
          listOptions.resourceVersion: rest.listOptions.resourceVersion
          listOptions.resourceVersionMatch: rest.listOptions.resourceVersionMatch
          listOptions.timeoutSeconds: rest.listOptions.timeoutSeconds
          listOptions.limit: rest.listOptions.limit
          listOptions.continue: rest.listOptions.continue
          listOptions.sendInitialEvents: rest.listOptions.sendInitialEvents
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: clusterworkflowtemplateservicecreateclusterworkflowtemplate
        description: clusterworkflowtemplateservicecreateclusterworkflowtemplate
        call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicecreateclusterworkflowtemplate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/cluster-workflow-templates/lint
      name: api-v1-cluster-workflow-templates-lint
      description: REST surface for api-v1-cluster-workflow-templates-lint.
      operations:
      - method: POST
        name: clusterworkflowtemplateservicelintclusterworkflowtemplate
        description: clusterworkflowtemplateservicelintclusterworkflowtemplate
        call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicelintclusterworkflowtemplate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/cluster-workflow-templates/{name}
      name: api-v1-cluster-workflow-templates-name
      description: REST surface for api-v1-cluster-workflow-templates-name.
      operations:
      - method: GET
        name: clusterworkflowtemplateservicegetclusterworkflowtemplate
        description: clusterworkflowtemplateservicegetclusterworkflowtemplate
        call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicegetclusterworkflowtemplate
        with:
          name: rest.name
          getOptions.resourceVersion: rest.getOptions.resourceVersion
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: clusterworkflowtemplateserviceupdateclusterworkflowtemplate
        description: clusterworkflowtemplateserviceupdateclusterworkflowtemplate
        call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateserviceupdateclusterworkflowtemplate
        with:
          name: rest.name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: clusterworkflowtemplateservicedeleteclusterworkflowtemplate
        description: clusterworkflowtemplateservicedeleteclusterworkflowtemplate
        call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicedeleteclusterworkflowtemplate
        with:
          name: rest.name
          deleteOptions.gracePeriodSeconds: rest.deleteOptions.gracePeriodSeconds
          deleteOptions.preconditions.uid: rest.deleteOptions.preconditions.uid
          deleteOptions.preconditions.resourceVersion: rest.deleteOptions.preconditions.resourceVersion
          deleteOptions.orphanDependents: rest.deleteOptions.orphanDependents
          deleteOptions.propagationPolicy: rest.deleteOptions.propagationPolicy
          deleteOptions.dryRun: rest.deleteOptions.dryRun
          deleteOptions.ignoreStoreReadErrorWithClusterBreakingPotential: rest.deleteOptions.ignoreStoreReadErrorWithClusterBreakingPotential
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: argo-workflows-clusterworkflowtemplateservice-mcp
    port: 9090
    transport: http
    description: MCP adapter for Argo Workflows — ClusterWorkflowTemplateService. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: clusterworkflowtemplateservicelistclusterworkflowtemplates
      description: clusterworkflowtemplateservicelistclusterworkflowtemplates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicelistclusterworkflowtemplates
      with:
        listOptions.labelSelector: tools.listOptions.labelSelector
        listOptions.fieldSelector: tools.listOptions.fieldSelector
        listOptions.watch: tools.listOptions.watch
        listOptions.allowWatchBookmarks: tools.listOptions.allowWatchBookmarks
        listOptions.resourceVersion: tools.listOptions.resourceVersion
        listOptions.resourceVersionMatch: tools.listOptions.resourceVersionMatch
        listOptions.timeoutSeconds: tools.listOptions.timeoutSeconds
        listOptions.limit: tools.listOptions.limit
        listOptions.continue: tools.listOptions.continue
        listOptions.sendInitialEvents: tools.listOptions.sendInitialEvents
      outputParameters:
      - type: object
        mapping: $.
    - name: clusterworkflowtemplateservicecreateclusterworkflowtemplate
      description: clusterworkflowtemplateservicecreateclusterworkflowtemplate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicecreateclusterworkflowtemplate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: clusterworkflowtemplateservicelintclusterworkflowtemplate
      description: clusterworkflowtemplateservicelintclusterworkflowtemplate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicelintclusterworkflowtemplate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: clusterworkflowtemplateservicegetclusterworkflowtemplate
      description: clusterworkflowtemplateservicegetclusterworkflowtemplate
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicegetclusterworkflowtemplate
      with:
        name: tools.name
        getOptions.resourceVersion: tools.getOptions.resourceVersion
      outputParameters:
      - type: object
        mapping: $.
    - name: clusterworkflowtemplateserviceupdateclusterworkflowtemplate
      description: clusterworkflowtemplateserviceupdateclusterworkflowtemplate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateserviceupdateclusterworkflowtemplate
      with:
        name: tools.name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: clusterworkflowtemplateservicedeleteclusterworkflowtemplate
      description: clusterworkflowtemplateservicedeleteclusterworkflowtemplate
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: argo-workflows-clusterworkflowtemplateservice.clusterworkflowtemplateservicedeleteclusterworkflowtemplate
      with:
        name: tools.name
        deleteOptions.gracePeriodSeconds: tools.deleteOptions.gracePeriodSeconds
        deleteOptions.preconditions.uid: tools.deleteOptions.preconditions.uid
        deleteOptions.preconditions.resourceVersion: tools.deleteOptions.preconditions.resourceVersion
        deleteOptions.orphanDependents: tools.deleteOptions.orphanDependents
        deleteOptions.propagationPolicy: tools.deleteOptions.propagationPolicy
        deleteOptions.dryRun: tools.deleteOptions.dryRun
        deleteOptions.ignoreStoreReadErrorWithClusterBreakingPotential: tools.deleteOptions.ignoreStoreReadErrorWithClusterBreakingPotential
      outputParameters:
      - type: object
        mapping: $.