Get Validation
get_validationRead the data validation rule applied to a given cell in an Excel worksheet, returning its type, operator, and formulas, or indicating none exists.
Instructions
Read the data validation rule applied to a cell, if any.
Args: workbook: Workbook name or path (None = active workbook). sheet: Worksheet name (None = active sheet). cell: A1-style cell reference, e.g. "B2".
Returns: JSON with the validation type/operator/formulas, or has_validation: false if none is set.
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_validation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | A1 | |
| sheet | No | ||
| workbook | No |