swsd_get_catalog_item
Fetch a catalog item by ID with its variables (form schema) to know which custom fields and options to use when creating a service request.
Instructions
Get a single SWSD catalog item by id, including its variables (the form schema for service requests). Use the variables to know which fields to populate when submitting a service request. Each variable has an id (pass through to the create-service-request tool as custom_field_id), a name, a kind (free_text / drop_down_menu / multi_select / date / user / null), and options (newline-separated allowed values for dropdowns). The full top-level item is passed through for power users (description, category, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Catalog item id from swsd_list_catalog_items. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes |