List field choices
choice_listList valid labels and stored values for a ServiceNow choice field such as incident.state, including parent-table choices, to find the correct value for queries or updates.
Instructions
List the valid choices (label and stored value) of a choice field such as incident.state or incident.priority. Use it to find the value to put in a query or update. Choices defined on a parent table (e.g. task) are included.
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": {
"table": "<table>",
"field": "<field>"
},
"name": "choice_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Choice field name, e.g. state. | |
| table | Yes | Table name, e.g. incident or cmdb_ci_server. | |
| instance | No | Instance alias from the config (see instance_list). Defaults to the default instance. |