get_option_set_values
Retrieve all option values (numeric code and label) from a Dataverse choice column or global option set. Use these values when filtering or writing records.
Instructions
Fetch all option values (integer code + label) for a Dataverse choice column or global option set. Use tableName + attributeName for a local choice/picklist/status/state column. Use optionSetName for a global option set shared across tables. Returns every option with its numeric value and display label — use these values when filtering or writing records.
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_option_set_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | No | Logical name of the table, e.g. 'account'. Required when using attributeName. | |
| attributeName | No | Logical name of the choice/picklist/status/state column, e.g. 'industrycode' or 'statecode'. | |
| optionSetName | No | Name of a global option set, e.g. 'industrycode'. Use instead of tableName + attributeName. |