files_validations
Lists the data-validation rules in a Tabulya file, so you can inspect them before adding, replacing, or deleting. Scans every sheet unless 'sheet' is given. Each rule is { sheet, id, range (A1), kind ('checkbox'|'logical'|'dropdown'|'list'|'text'|'number'|'datetime'|'none') } plus its constraints under the same field names the files_set_* tools accept (values/source_range, min_length/max_length/exactly/contains/not_contains, min/max/greater_than/less_than/equals/not_equals, require_*/prohibit_* flags, date_*/time_* constraints) and 'strict'. Custom help/error texts appear as message_title/message_text/error_title/error_message; replacing by id via files_set_* rewrites the constraints but preserves these texts. Replacing by id overwrites all constraints, so read the current ones first. Extra markers: composite:true — the rule holds more conditions than these fields can express (do NOT blind-replace it); case_sensitive:true — a text rule matches case-sensitively (files_set_text_validation always writes case-insensitive rules); ignore_blank:false — the rule also validates empty cells (set tools always write true). Read-only; reflects the file's latest live state. Signature: files_validations(file_uuid, sheet?).
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": {
"file_uuid": "<file_uuid>"
},
"name": "files_validations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | Restrict to this sheet (defaults to all sheets). | |
| file_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| file_uuid | Yes | ||
| validations | Yes |