ServiceNow · Capability

ServiceNow Service Catalog API — Categories

ServiceNow Service Catalog API — Categories. 1 operations. Lead operation: Servicenow Retrieve a Catalog Category. Self-contained Naftiko capability covering one Servicenow business surface.

Run with Naftiko ServicenowCategories

What You Can Do

GET
Getcategory — Servicenow Retrieve a Catalog Category
/v1/servicecatalog/categories/{sys-id}

MCP Tools

servicenow-retrieve-catalog-category

Servicenow Retrieve a Catalog Category

read-only idempotent

Capability Spec

service-catalog-categories.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ServiceNow Service Catalog API — Categories
  description: 'ServiceNow Service Catalog API — Categories. 1 operations. Lead operation: Servicenow Retrieve a Catalog Category.
    Self-contained Naftiko capability covering one Servicenow business surface.'
  tags:
  - Servicenow
  - Categories
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SERVICENOW_API_KEY: SERVICENOW_API_KEY
capability:
  consumes:
  - type: http
    namespace: service-catalog-categories
    baseUri: https://{instance}.service-now.com/api/sn_sc
    description: ServiceNow Service Catalog API — Categories business capability. Self-contained, no shared references.
    resources:
    - name: servicecatalog-categories-sys_id
      path: /servicecatalog/categories/{sys_id}
      operations:
      - name: getcategory
        method: GET
        description: Servicenow Retrieve a Catalog Category
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SERVICENOW_API_KEY}}'
  exposes:
  - type: rest
    namespace: service-catalog-categories-rest
    port: 8080
    description: REST adapter for ServiceNow Service Catalog API — Categories. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/servicecatalog/categories/{sys-id}
      name: servicecatalog-categories-sys-id
      description: REST surface for servicecatalog-categories-sys_id.
      operations:
      - method: GET
        name: getcategory
        description: Servicenow Retrieve a Catalog Category
        call: service-catalog-categories.getcategory
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: service-catalog-categories-mcp
    port: 9090
    transport: http
    description: MCP adapter for ServiceNow Service Catalog API — Categories. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: servicenow-retrieve-catalog-category
      description: Servicenow Retrieve a Catalog Category
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-catalog-categories.getcategory
      outputParameters:
      - type: object
        mapping: $.