Palo Alto Networks · Capability

Palo Alto Networks PAN-OS REST API — Commit

Palo Alto Networks PAN-OS REST API — Commit. 2 operations. Lead operation: Palo Alto Networks Get Commit Job Status. Self-contained Naftiko capability covering one Palo Alto Networks business surface.

Run with Naftiko Palo Alto NetworksCommit

What You Can Do

GET
Getcommitstatus — Palo Alto Networks Get Commit Job Status
/v1/commit
POST
Commitconfiguration — Palo Alto Networks Commit Configuration
/v1/commit

MCP Tools

palo-alto-networks-get-commit

Palo Alto Networks Get Commit Job Status

read-only idempotent
palo-alto-networks-commit-configuration

Palo Alto Networks Commit Configuration

Capability Spec

palo-alto-pan-os-rest-commit.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Palo Alto Networks PAN-OS REST API — Commit
  description: 'Palo Alto Networks PAN-OS REST API — Commit. 2 operations. Lead operation: Palo Alto Networks Get Commit Job
    Status. Self-contained Naftiko capability covering one Palo Alto Networks business surface.'
  tags:
  - Palo Alto Networks
  - Commit
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PALO_ALTO_NETWORKS_API_KEY: PALO_ALTO_NETWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: palo-alto-pan-os-rest-commit
    baseUri: https://{firewall}/restapi/v10.2
    description: Palo Alto Networks PAN-OS REST API — Commit business capability. Self-contained, no shared references.
    resources:
    - name: Commit
      path: /Commit
      operations:
      - name: getcommitstatus
        method: GET
        description: Palo Alto Networks Get Commit Job Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: jobid
          in: query
          type: string
          description: Job ID returned by the commit operation.
          required: true
      - name: commitconfiguration
        method: POST
        description: Palo Alto Networks Commit Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: X-PAN-KEY
      value: '{{env.PALO_ALTO_NETWORKS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: palo-alto-pan-os-rest-commit-rest
    port: 8080
    description: REST adapter for Palo Alto Networks PAN-OS REST API — Commit. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/commit
      name: commit
      description: REST surface for Commit.
      operations:
      - method: GET
        name: getcommitstatus
        description: Palo Alto Networks Get Commit Job Status
        call: palo-alto-pan-os-rest-commit.getcommitstatus
        with:
          jobid: rest.jobid
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: commitconfiguration
        description: Palo Alto Networks Commit Configuration
        call: palo-alto-pan-os-rest-commit.commitconfiguration
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: palo-alto-pan-os-rest-commit-mcp
    port: 9090
    transport: http
    description: MCP adapter for Palo Alto Networks PAN-OS REST API — Commit. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: palo-alto-networks-get-commit
      description: Palo Alto Networks Get Commit Job Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: palo-alto-pan-os-rest-commit.getcommitstatus
      with:
        jobid: tools.jobid
      outputParameters:
      - type: object
        mapping: $.
    - name: palo-alto-networks-commit-configuration
      description: Palo Alto Networks Commit Configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: palo-alto-pan-os-rest-commit.commitconfiguration
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.