resolve_choice
Resolve ServiceNow choice labels to their stored values by specifying table, field, and label. Get the full label-value mapping when no label is provided.
Instructions
Resolve a choice label to its underlying value via ChoiceRegistry.
Args: table: ServiceNow table name. field: Field name on that table. label: Choice label to resolve. When empty, returns the full {label: value} mapping for the field.
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": "resolve_choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| label | No | ||
| table | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |