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.
Input Schema
TableJSON 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"}.` }] }; } );