list_conditional_formats
Read existing conditional formatting rules from an Excel sheet to see which cells change color, their conditions, and priority, avoiding rule breakage during edits.
Instructions
读取工作表中已有的条件格式规则(写入 + 读取闭环)。
用途:接手一张别人的表时,先看清它埋了哪些自动规则(哪些格子会变色/变红), 避免修改时破坏既有规则。
返回:规则条数与明细(作用区域 / 类型 / 运算符 / 阈值公式 / 填充色 / 优先级), 按优先级排序。
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_path": "<file_path>"
},
"name": "list_conditional_formats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| file_path | Yes |