delete_picklist_option
Removes an option from a Dataverse Local or Global OptionSet by numeric value. Disabled by default until DATAVERSE_ALLOW_DELETE is set, so enable deletes to run it.
Instructions
Remove an option from a Local or Global OptionSet. This tool is disabled on this server: a call fails with a message on how to enable it. Setting DATAVERSE_ALLOW_DELETE=true and restarting the server turns it on.
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": {
"value": "<value>"
},
"name": "delete_picklist_option"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Numeric value of the option to remove | |
| 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. | |
| solution_unique_name | No | Solution unique name (defaults to the Default Solution) | |
| attribute_logical_name | No | Picklist attribute logical name (Local OptionSet; pair with entity_logical_name). Mutually exclusive with option_set_name. |