Argo Workflows · Capability

Argo Workflows — WorkflowTemplateService

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

Run with Naftiko Argo WorkflowsWorkflowTemplateService

What You Can Do

GET
Workflowtemplateservicelistworkflowtemplates — workflowtemplateservicelistworkflowtemplates
/v1/api/v1/workflow-templates/{namespace}
POST
Workflowtemplateservicecreateworkflowtemplate — workflowtemplateservicecreateworkflowtemplate
/v1/api/v1/workflow-templates/{namespace}
POST
Workflowtemplateservicelintworkflowtemplate — workflowtemplateservicelintworkflowtemplate
/v1/api/v1/workflow-templates/{namespace}/lint
GET
Workflowtemplateservicegetworkflowtemplate — workflowtemplateservicegetworkflowtemplate
/v1/api/v1/workflow-templates/{namespace}/{name}
PUT
Workflowtemplateserviceupdateworkflowtemplate — workflowtemplateserviceupdateworkflowtemplate
/v1/api/v1/workflow-templates/{namespace}/{name}
DELETE
Workflowtemplateservicedeleteworkflowtemplate — workflowtemplateservicedeleteworkflowtemplate
/v1/api/v1/workflow-templates/{namespace}/{name}

MCP Tools

workflowtemplateservicelistworkflowtemplates

workflowtemplateservicelistworkflowtemplates

read-only idempotent
workflowtemplateservicecreateworkflowtemplate

workflowtemplateservicecreateworkflowtemplate

workflowtemplateservicelintworkflowtemplate

workflowtemplateservicelintworkflowtemplate

workflowtemplateservicegetworkflowtemplate

workflowtemplateservicegetworkflowtemplate

read-only idempotent
workflowtemplateserviceupdateworkflowtemplate

workflowtemplateserviceupdateworkflowtemplate

idempotent
workflowtemplateservicedeleteworkflowtemplate

workflowtemplateservicedeleteworkflowtemplate

idempotent

Capability Spec

argo-workflows-workflowtemplateservice.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Argo Workflows — WorkflowTemplateService
  description: 'Argo Workflows — WorkflowTemplateService. 6 operations. Lead operation: WorkflowTemplateService. Self-contained
    Naftiko capability covering one Argo Workflows business surface.'
  tags:
  - Argo Workflows
  - WorkflowTemplateService
  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-workflowtemplateservice
    baseUri: http://localhost:2746
    description: Argo Workflows — WorkflowTemplateService business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-workflow-templates-namespace
      path: /api/v1/workflow-templates/{namespace}
      operations:
      - name: workflowtemplateservicelistworkflowtemplates
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: namespace
          in: path
          type: string
          required: true
        - name: namePattern
          in: query
          type: string
        - 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: workflowtemplateservicecreateworkflowtemplate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: namespace
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: string
          required: true
    - name: api-v1-workflow-templates-namespace-lint
      path: /api/v1/workflow-templates/{namespace}/lint
      operations:
      - name: workflowtemplateservicelintworkflowtemplate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: namespace
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: string
          required: true
    - name: api-v1-workflow-templates-namespace-name
      path: /api/v1/workflow-templates/{namespace}/{name}
      operations:
      - name: workflowtemplateservicegetworkflowtemplate
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: namespace
          in: path
          type: string
          required: true
        - 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: workflowtemplateserviceupdateworkflowtemplate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: namespace
          in: path
          type: string
          required: true
        - name: name
          in: path
          type: string
          description: 'DEPRECATED: This field is ignored.'
          required: true
        - name: body
          in: body
          type: string
          required: true
      - name: workflowtemplateservicedeleteworkflowtemplate
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: namespace
          in: path
          type: string
          required: true
        - 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-workflowtemplateservice-rest
    port: 8080
    description: REST adapter for Argo Workflows — WorkflowTemplateService. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v1/workflow-templates/{namespace}
      name: api-v1-workflow-templates-namespace
      description: REST surface for api-v1-workflow-templates-namespace.
      operations:
      - method: GET
        name: workflowtemplateservicelistworkflowtemplates
        description: workflowtemplateservicelistworkflowtemplates
        call: argo-workflows-workflowtemplateservice.workflowtemplateservicelistworkflowtemplates
        with:
          namespace: rest.namespace
          namePattern: rest.namePattern
          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: workflowtemplateservicecreateworkflowtemplate
        description: workflowtemplateservicecreateworkflowtemplate
        call: argo-workflows-workflowtemplateservice.workflowtemplateservicecreateworkflowtemplate
        with:
          namespace: rest.namespace
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/workflow-templates/{namespace}/lint
      name: api-v1-workflow-templates-namespace-lint
      description: REST surface for api-v1-workflow-templates-namespace-lint.
      operations:
      - method: POST
        name: workflowtemplateservicelintworkflowtemplate
        description: workflowtemplateservicelintworkflowtemplate
        call: argo-workflows-workflowtemplateservice.workflowtemplateservicelintworkflowtemplate
        with:
          namespace: rest.namespace
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/workflow-templates/{namespace}/{name}
      name: api-v1-workflow-templates-namespace-name
      description: REST surface for api-v1-workflow-templates-namespace-name.
      operations:
      - method: GET
        name: workflowtemplateservicegetworkflowtemplate
        description: workflowtemplateservicegetworkflowtemplate
        call: argo-workflows-workflowtemplateservice.workflowtemplateservicegetworkflowtemplate
        with:
          namespace: rest.namespace
          name: rest.name
          getOptions.resourceVersion: rest.getOptions.resourceVersion
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: workflowtemplateserviceupdateworkflowtemplate
        description: workflowtemplateserviceupdateworkflowtemplate
        call: argo-workflows-workflowtemplateservice.workflowtemplateserviceupdateworkflowtemplate
        with:
          namespace: rest.namespace
          name: rest.name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: workflowtemplateservicedeleteworkflowtemplate
        description: workflowtemplateservicedeleteworkflowtemplate
        call: argo-workflows-workflowtemplateservice.workflowtemplateservicedeleteworkflowtemplate
        with:
          namespace: rest.namespace
          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-workflowtemplateservice-mcp
    port: 9090
    transport: http
    description: MCP adapter for Argo Workflows — WorkflowTemplateService. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: workflowtemplateservicelistworkflowtemplates
      description: workflowtemplateservicelistworkflowtemplates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: argo-workflows-workflowtemplateservice.workflowtemplateservicelistworkflowtemplates
      with:
        namespace: tools.namespace
        namePattern: tools.namePattern
        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: workflowtemplateservicecreateworkflowtemplate
      description: workflowtemplateservicecreateworkflowtemplate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: argo-workflows-workflowtemplateservice.workflowtemplateservicecreateworkflowtemplate
      with:
        namespace: tools.namespace
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: workflowtemplateservicelintworkflowtemplate
      description: workflowtemplateservicelintworkflowtemplate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: argo-workflows-workflowtemplateservice.workflowtemplateservicelintworkflowtemplate
      with:
        namespace: tools.namespace
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: workflowtemplateservicegetworkflowtemplate
      description: workflowtemplateservicegetworkflowtemplate
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: argo-workflows-workflowtemplateservice.workflowtemplateservicegetworkflowtemplate
      with:
        namespace: tools.namespace
        name: tools.name
        getOptions.resourceVersion: tools.getOptions.resourceVersion
      outputParameters:
      - type: object
        mapping: $.
    - name: workflowtemplateserviceupdateworkflowtemplate
      description: workflowtemplateserviceupdateworkflowtemplate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: argo-workflows-workflowtemplateservice.workflowtemplateserviceupdateworkflowtemplate
      with:
        namespace: tools.namespace
        name: tools.name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: workflowtemplateservicedeleteworkflowtemplate
      description: workflowtemplateservicedeleteworkflowtemplate
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: argo-workflows-workflowtemplateservice.workflowtemplateservicedeleteworkflowtemplate
      with:
        namespace: tools.namespace
        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: $.