Ansible Automation Controller API — Inventories

Ansible Automation Controller API — Inventories. 1 operations. Lead operation: Ansible List Inventories. Self-contained Naftiko capability covering one Ansible Automation Platform business surface.

Run with Naftiko Ansible Automation PlatformInventories

What You Can Do

GET
Listinventories — Ansible List Inventories
/v1/inventories

MCP Tools

ansible-list-inventories

Ansible List Inventories

read-only idempotent

Capability Spec

ansible-controller-inventories.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Ansible Automation Controller API — Inventories
  description: 'Ansible Automation Controller API — Inventories. 1 operations. Lead operation: Ansible List Inventories. Self-contained
    Naftiko capability covering one Ansible Automation Platform business surface.'
  tags:
  - Ansible Automation Platform
  - Inventories
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ANSIBLE_AUTOMATION_PLATFORM_API_KEY: ANSIBLE_AUTOMATION_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: ansible-controller-inventories
    baseUri: https://controller-host/api/v2
    description: Ansible Automation Controller API — Inventories business capability. Self-contained, no shared references.
    resources:
    - name: inventories
      path: /inventories/
      operations:
      - name: listinventories
        method: GET
        description: Ansible List Inventories
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ANSIBLE_AUTOMATION_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: ansible-controller-inventories-rest
    port: 8080
    description: REST adapter for Ansible Automation Controller API — Inventories. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/inventories
      name: inventories
      description: REST surface for inventories.
      operations:
      - method: GET
        name: listinventories
        description: Ansible List Inventories
        call: ansible-controller-inventories.listinventories
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ansible-controller-inventories-mcp
    port: 9090
    transport: http
    description: MCP adapter for Ansible Automation Controller API — Inventories. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: ansible-list-inventories
      description: Ansible List Inventories
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ansible-controller-inventories.listinventories
      outputParameters:
      - type: object
        mapping: $.