Pulumi · Capability

Pulumi APIs — Workflows

Pulumi APIs — Workflows. 5 operations. Lead operation: ListOrgAgentPool. Self-contained Naftiko capability covering one Pulumi business surface.

Run with Naftiko PulumiWorkflows

What You Can Do

GET
Listorgagentpool — ListOrgAgentPool
/v1/api/orgs/{orgname}/agent-pools
POST
Createorgagentpool — CreateOrgAgentPool
/v1/api/orgs/{orgname}/agent-pools
DELETE
Deleteorgagentpool — DeleteOrgAgentPool
/v1/api/orgs/{orgname}/agent-pools/{poolid}
GET
Getagentpool — GetAgentPool
/v1/api/orgs/{orgname}/agent-pools/{poolid}
PATCH
Patchorgagentpool — PatchOrgAgentPool
/v1/api/orgs/{orgname}/agent-pools/{poolid}

MCP Tools

listorgagentpool

ListOrgAgentPool

read-only idempotent
createorgagentpool

CreateOrgAgentPool

deleteorgagentpool

DeleteOrgAgentPool

idempotent
getagentpool

GetAgentPool

read-only idempotent
patchorgagentpool

PatchOrgAgentPool

idempotent

Capability Spec

pulumi-workflows.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pulumi APIs — Workflows
  description: 'Pulumi APIs — Workflows. 5 operations. Lead operation: ListOrgAgentPool. Self-contained Naftiko capability
    covering one Pulumi business surface.'
  tags:
  - Pulumi
  - Workflows
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PULUMI_API_KEY: PULUMI_API_KEY
capability:
  consumes:
  - type: http
    namespace: pulumi-workflows
    baseUri: ''
    description: Pulumi APIs — Workflows business capability. Self-contained, no shared references.
    resources:
    - name: api-orgs-orgName-agent-pools
      path: /api/orgs/{orgName}/agent-pools
      operations:
      - name: listorgagentpool
        method: GET
        description: ListOrgAgentPool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
      - name: createorgagentpool
        method: POST
        description: CreateOrgAgentPool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-orgs-orgName-agent-pools-poolId
      path: /api/orgs/{orgName}/agent-pools/{poolId}
      operations:
      - name: deleteorgagentpool
        method: DELETE
        description: DeleteOrgAgentPool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: poolId
          in: path
          type: string
          description: The agent pool identifier
          required: true
        - name: force
          in: query
          type: boolean
          description: Force the operation even if the pool is in use
      - name: getagentpool
        method: GET
        description: GetAgentPool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: poolId
          in: path
          type: string
          description: The agent pool identifier
          required: true
      - name: patchorgagentpool
        method: PATCH
        description: PatchOrgAgentPool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgName
          in: path
          type: string
          description: The organization name
          required: true
        - name: poolId
          in: path
          type: string
          description: The agent pool identifier
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: pulumi-workflows-rest
    port: 8080
    description: REST adapter for Pulumi APIs — Workflows. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/orgs/{orgname}/agent-pools
      name: api-orgs-orgname-agent-pools
      description: REST surface for api-orgs-orgName-agent-pools.
      operations:
      - method: GET
        name: listorgagentpool
        description: ListOrgAgentPool
        call: pulumi-workflows.listorgagentpool
        with:
          orgName: rest.orgName
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createorgagentpool
        description: CreateOrgAgentPool
        call: pulumi-workflows.createorgagentpool
        with:
          orgName: rest.orgName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/orgs/{orgname}/agent-pools/{poolid}
      name: api-orgs-orgname-agent-pools-poolid
      description: REST surface for api-orgs-orgName-agent-pools-poolId.
      operations:
      - method: DELETE
        name: deleteorgagentpool
        description: DeleteOrgAgentPool
        call: pulumi-workflows.deleteorgagentpool
        with:
          orgName: rest.orgName
          poolId: rest.poolId
          force: rest.force
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getagentpool
        description: GetAgentPool
        call: pulumi-workflows.getagentpool
        with:
          orgName: rest.orgName
          poolId: rest.poolId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchorgagentpool
        description: PatchOrgAgentPool
        call: pulumi-workflows.patchorgagentpool
        with:
          orgName: rest.orgName
          poolId: rest.poolId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pulumi-workflows-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pulumi APIs — Workflows. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: listorgagentpool
      description: ListOrgAgentPool
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pulumi-workflows.listorgagentpool
      with:
        orgName: tools.orgName
      outputParameters:
      - type: object
        mapping: $.
    - name: createorgagentpool
      description: CreateOrgAgentPool
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pulumi-workflows.createorgagentpool
      with:
        orgName: tools.orgName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deleteorgagentpool
      description: DeleteOrgAgentPool
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: pulumi-workflows.deleteorgagentpool
      with:
        orgName: tools.orgName
        poolId: tools.poolId
        force: tools.force
      outputParameters:
      - type: object
        mapping: $.
    - name: getagentpool
      description: GetAgentPool
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pulumi-workflows.getagentpool
      with:
        orgName: tools.orgName
        poolId: tools.poolId
      outputParameters:
      - type: object
        mapping: $.
    - name: patchorgagentpool
      description: PatchOrgAgentPool
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: pulumi-workflows.patchorgagentpool
      with:
        orgName: tools.orgName
        poolId: tools.poolId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.