toggle_reference_repos
Control visibility of reference repositories in the status bar to focus on active projects or include reference materials as needed.
Instructions
Show or hide repos marked as type 'reference' in the status bar.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show | Yes | true = include reference repos, false = active repos only |
Implementation Reference
- src/tools/config-tools.ts:108-118 (handler)Handler implementation for toggle_reference_repos tool which updates the statusbar.showReferenceRepos configuration value.
server.tool( "toggle_reference_repos", "Show or hide repos marked as type 'reference' in the status bar.", { show: z.boolean().describe("true = include reference repos, false = active repos only") }, async ({ show }) => { const config = loadConfig(); config.statusbar.showReferenceRepos = show; saveConfig(config); return { content: [{ type: "text", text: `Reference repos: ${show ? "shown" : "hidden"} in status bar.` }] }; } );