set_worksheet_visibility
Change a worksheet's visibility to visible, hidden, or veryHidden in an .xlsx workbook, so AI agents can control which sheets users see.
Instructions
Set worksheet visibility to visible, hidden, or veryHidden.
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": {
"filepath": "<filepath>",
"sheet_name": "<sheet_name>",
"visibility": "<visibility>"
},
"name": "set_worksheet_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. | |
| sheet_name | Yes | ||
| visibility | Yes | ||
| include_changes | No |