swsd_describe_custom_fields
Retrieve your SWSD tenant's custom field schema, including id, name, type, required status, scope, module, allowed values, and help text. Filter by scope or module, and optionally include retired fields.
Instructions
List the SWSD tenant's custom-field schema. Returns id, name, type (e.g. "Text", "Dropdown", "Date"), required, scope, module, allowed values for dropdown fields, and help_text. Useful for understanding tenant configuration and documenting integrations. Default returns active fields only — pass active_only: false to see retired ones too. Filter by scope or module to narrow the surface (the tenant may have 100+ fields). v2 NOTE: custom field WRITES are now supported via the custom_fields parameter on swsd_create_incident, swsd_update_incident, swsd_create_solution, and swsd_update_solution. Pass custom_fields: [{name, value}] (name-keyed for portability). Validated field types: Text, Dropdown, Number, Checkbox, Date. Multi_picklist and User-type writes are not yet supported — set those via the SWSD UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-indexed). | |
| per_page | No | Results per page (1-100). | |
| scope | No | Filter to fields with this scope (e.g. "Global", "Service_Catalog", "Incident"). Tenant-specific. | |
| module | No | Filter to fields scoped to this module (when set on the field). | |
| active_only | No | If true (default), only return active fields. Set false to include retired/inactive fields too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| custom_fields | Yes | ||
| pagination | Yes |