Azure Automation · Capability

Azure Automation REST API — Automation Accounts

Azure Automation REST API — Automation Accounts. 6 operations. Lead operation: Azure Automation REST API List by subscription. Self-contained Naftiko capability covering one Microsoft Azure Automation business surface.

Run with Naftiko Microsoft Azure AutomationAutomation Accounts

What You Can Do

GET
Listautomationaccountsbysubscription — Azure Automation REST API List by subscription
/v1/subscriptions/{subscriptionid}/providers/microsoft-automation/automationaccounts
GET
Listautomationaccountsbyresourcegroup — Azure Automation REST API List by resource group
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-automation/automationaccounts
GET
Getautomationaccounts — Azure Automation REST API Get resource
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-automation/automationaccounts/{name}
PUT
Createorupdateautomationaccounts — Azure Automation REST API Create or update resource
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-automation/automationaccounts/{name}
PATCH
Updateautomationaccounts — Azure Automation REST API Update resource
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-automation/automationaccounts/{name}
DELETE
Deleteautomationaccounts — Azure Automation REST API Delete resource
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-automation/automationaccounts/{name}

MCP Tools

azure-automation-rest-api-list

Azure Automation REST API List by subscription

read-only idempotent
azure-automation-rest-api-list-2

Azure Automation REST API List by resource group

read-only idempotent
azure-automation-rest-api-get

Azure Automation REST API Get resource

read-only idempotent
azure-automation-rest-api-create

Azure Automation REST API Create or update resource

idempotent
azure-automation-rest-api-update

Azure Automation REST API Update resource

idempotent
azure-automation-rest-api-delete

Azure Automation REST API Delete resource

idempotent

Capability Spec

microsoft-azure-automation-automation-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure Automation REST API — Automation Accounts
  description: 'Azure Automation REST API — Automation Accounts. 6 operations. Lead operation: Azure Automation REST API List
    by subscription. Self-contained Naftiko capability covering one Microsoft Azure Automation business surface.'
  tags:
  - Microsoft Azure Automation
  - Automation Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_AUTOMATION_API_KEY: MICROSOFT_AZURE_AUTOMATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-azure-automation-automation-accounts
    baseUri: https://management.azure.com
    description: Azure Automation REST API — Automation Accounts business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-providers-Microsoft.Automation-automationAccounts
      path: /subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts
      operations:
      - name: listautomationaccountsbysubscription
        method: GET
        description: Azure Automation REST API List by subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts
      operations:
      - name: listautomationaccountsbyresourcegroup
        method: GET
        description: Azure Automation REST API List by resource group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{name}
      operations:
      - name: getautomationaccounts
        method: GET
        description: Azure Automation REST API Get resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createorupdateautomationaccounts
        method: PUT
        description: Azure Automation REST API Create or update resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updateautomationaccounts
        method: PATCH
        description: Azure Automation REST API Update resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteautomationaccounts
        method: DELETE
        description: Azure Automation REST API Delete resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_AUTOMATION_API_KEY}}'
  exposes:
  - type: rest
    namespace: microsoft-azure-automation-automation-accounts-rest
    port: 8080
    description: REST adapter for Azure Automation REST API — Automation Accounts. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-automation/automationaccounts
      name: subscriptions-subscriptionid-providers-microsoft-automation-automationaccounts
      description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Automation-automationAccounts.
      operations:
      - method: GET
        name: listautomationaccountsbysubscription
        description: Azure Automation REST API List by subscription
        call: microsoft-azure-automation-automation-accounts.listautomationaccountsbysubscription
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-automation/automationaccounts
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: listautomationaccountsbyresourcegroup
        description: Azure Automation REST API List by resource group
        call: microsoft-azure-automation-automation-accounts.listautomationaccountsbyresourcegroup
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-automation/automationaccounts/{name}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: getautomationaccounts
        description: Azure Automation REST API Get resource
        call: microsoft-azure-automation-automation-accounts.getautomationaccounts
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: createorupdateautomationaccounts
        description: Azure Automation REST API Create or update resource
        call: microsoft-azure-automation-automation-accounts.createorupdateautomationaccounts
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateautomationaccounts
        description: Azure Automation REST API Update resource
        call: microsoft-azure-automation-automation-accounts.updateautomationaccounts
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteautomationaccounts
        description: Azure Automation REST API Delete resource
        call: microsoft-azure-automation-automation-accounts.deleteautomationaccounts
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-azure-automation-automation-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure Automation REST API — Automation Accounts. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: azure-automation-rest-api-list
      description: Azure Automation REST API List by subscription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-azure-automation-automation-accounts.listautomationaccountsbysubscription
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-automation-rest-api-list-2
      description: Azure Automation REST API List by resource group
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-azure-automation-automation-accounts.listautomationaccountsbyresourcegroup
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-automation-rest-api-get
      description: Azure Automation REST API Get resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-azure-automation-automation-accounts.getautomationaccounts
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-automation-rest-api-create
      description: Azure Automation REST API Create or update resource
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-azure-automation-automation-accounts.createorupdateautomationaccounts
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-automation-rest-api-update
      description: Azure Automation REST API Update resource
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-azure-automation-automation-accounts.updateautomationaccounts
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-automation-rest-api-delete
      description: Azure Automation REST API Delete resource
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-azure-automation-automation-accounts.deleteautomationaccounts
      outputParameters:
      - type: object
        mapping: $.