{"version":"2.1.286","anchor":"bare-sessions-refuse-plugin-toolregister","canonical_anchor":"bare-sessions-refuse-plugin-toolregister","heading":"Plugins cannot add tools while they run in --bare sessions","tier":"notice","area":"Plugins","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.286\/e\/bare-sessions-refuse-plugin-toolregister","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.286","markdown":"### Plugins cannot add tools while they run in `--bare` sessions\n\nIn `--bare` sessions, a plugin that tries to register a tool while running is now refused with an error\n\n**What**\n\n`--bare` starts Claude Code in minimal mode, skipping most automatic setup so scripted runs start faster. A plugin is an add-on that extends Claude Code. In a `--bare` session, a plugin that tries to add a tool while it is running is now refused.\n\nThe error explains that a `--bare` session takes tools only from the plugins named on its command line, and from no built-in one.\n\n**Why**\n\nIf you write plugins and run them with `--bare`, tools they add while running will not be available. The tools have to come from plugins named on the command line.\n\n- Area: Plugins\n- Names: `--bare`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}