get_picklist_options
Retrieve option values and labels for Dataverse Choice, Status, State, or MultiSelect columns. Identify local versus Global OptionSet binding and see status transition rules.
Instructions
Read a Local or Global OptionSet as { option_set: { name, is_global, metadata_id }, options: [{ value, label }] }. Use is_global to tell whether a column holds a local copy of the values or is bound to a shared Global OptionSet — matching values alone do not prove a binding. Works for Choice, Status, State and MultiSelect columns; a column or option set that does not exist is an error. get_entity_metadata shows which columns of a table are choices. A Status column (statuscode) also returns the table's status transition matrix: enforce_state_transitions next to options, and on each option state (the statecode value it belongs to) and transitions (the status reason values a record may move to from it). transitions [] means no move from that status reason is allowed. When enforce_state_transitions is false the matrix does not apply, whatever transitions holds: null, or a list the option still stores. To get one record's allowed transitions, read its statuscode with get_record, then take that option's transitions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_picklist_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option_set_name | No | Global OptionSet name. Mutually exclusive with entity_logical_name/attribute_logical_name. | |
| entity_logical_name | No | Entity logical name (Local OptionSet; pair with attribute_logical_name). Mutually exclusive with option_set_name. | |
| attribute_logical_name | No | Picklist attribute logical name (Local OptionSet; pair with entity_logical_name). Mutually exclusive with option_set_name. |