create_catalog_ui_policy
Create a UI policy for a ServiceNow catalog item to control field visibility and actions based on conditions.
Instructions
[Write] Create a UI policy for a catalog item form
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cat_item_id": "<cat_item_id>",
"short_description": "<short_description>"
},
"name": "create_catalog_ui_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conditions | No | Encoded condition query | |
| cat_item_id | Yes | Catalog item sys_id | |
| reverse_if_false | No | Reverse actions when condition is false | |
| short_description | Yes | UI policy description |