toggle_statusbar
Enable or disable the Claude interface status bar to control visibility of live git repository monitoring information.
Instructions
Enable or disable the entire status bar. When disabled the status line script outputs nothing.
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": {
"enabled": "<enabled>"
},
"name": "toggle_statusbar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true = enable, false = disable |
Implementation Reference
- src/tools/config-tools.ts:94-105 (handler)The handler implementation for the toggle_statusbar tool, which updates the configuration's statusbar.enabled setting.
// --- toggle_statusbar --- server.tool( "toggle_statusbar", "Enable or disable the entire status bar. When disabled the status line script outputs nothing.", { enabled: z.boolean().describe("true = enable, false = disable") }, async ({ enabled }) => { const config = loadConfig(); config.statusbar.enabled = enabled; saveConfig(config); return { content: [{ type: "text", text: `Status bar ${enabled ? "enabled" : "disabled"}.` }] }; } );