Tanium · Capability

Tanium Platform REST API — Packages

Tanium Platform REST API — Packages. 2 operations. Lead operation: List All Packages. Self-contained Naftiko capability covering one Tanium business surface.

Run with Naftiko TaniumPackages

What You Can Do

GET
Listpackages — List All Packages
/v1/api/v2/packages
GET
Getpackagebyname — Get A Package By Name
/v1/api/v2/packages/by-name/{name}

MCP Tools

list-all-packages

List All Packages

read-only idempotent
get-package-name

Get A Package By Name

read-only idempotent

Capability Spec

platform-rest-packages.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tanium Platform REST API — Packages
  description: 'Tanium Platform REST API — Packages. 2 operations. Lead operation: List All Packages. Self-contained Naftiko
    capability covering one Tanium business surface.'
  tags:
  - Tanium
  - Packages
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TANIUM_API_KEY: TANIUM_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-rest-packages
    baseUri: https://{tanium_server}
    description: Tanium Platform REST API — Packages business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-packages
      path: /api/v2/packages
      operations:
      - name: listpackages
        method: GET
        description: List All Packages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v2-packages-by-name-name
      path: /api/v2/packages/by-name/{name}
      operations:
      - name: getpackagebyname
        method: GET
        description: Get A Package By Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: Name of the package
          required: true
    authentication:
      type: apikey
      key: session
      value: '{{env.TANIUM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: platform-rest-packages-rest
    port: 8080
    description: REST adapter for Tanium Platform REST API — Packages. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v2/packages
      name: api-v2-packages
      description: REST surface for api-v2-packages.
      operations:
      - method: GET
        name: listpackages
        description: List All Packages
        call: platform-rest-packages.listpackages
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/packages/by-name/{name}
      name: api-v2-packages-by-name-name
      description: REST surface for api-v2-packages-by-name-name.
      operations:
      - method: GET
        name: getpackagebyname
        description: Get A Package By Name
        call: platform-rest-packages.getpackagebyname
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-rest-packages-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tanium Platform REST API — Packages. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-packages
      description: List All Packages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-rest-packages.listpackages
      outputParameters:
      - type: object
        mapping: $.
    - name: get-package-name
      description: Get A Package By Name
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-rest-packages.getpackagebyname
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.