{"name":"env.get","slug":"env-get","family":"setting","title":"Settings keys","noun":"settings key","description":"Plugins and hooks gain new permission scopes: session.usage, settings.read, env.get, env.set","description_source":"entry","described_by":{"version":"2.1.267","anchor":"new-pluginhook-capability-scopes-sessionusage-settingsr"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.319","builds":0,"mined_builds":159,"first_cited":{"version":"2.1.267","released_at":"2026-09-09 18:25:42","spans":1}},"aliases":[],"entries":[{"version":"2.1.317","anchor":"tooldescribe-hooks-module-capability-and-input-host-mid-tur","heading":"Two internal name lists in Claude Code each gain an entry","line":"A list holding command.describe, env.get and prompt.section now also holds tool.describe, and a list of input sources gains a mid-turn prompt entry","released_at":"2026-11-02 23:57:53","reason":"found in this entry's text"},{"version":"2.1.312","anchor":"new-start-shell-task-control-request-and-a-plugin-hook-allo","heading":"Remote clients can ask to start a shell task, and a hooks list grows","line":"A new request lets a connected program start a shell task, and a list in the hooks runtime now holds five event names instead of two","released_at":"2026-10-27 18:36:10","reason":"found in this entry's text"},{"version":"2.1.311","anchor":"hooks-runtime-can-skip-dispatch-when-all-handlers-are-defaul","heading":"Hooks runtime skips needless work, with two variables to turn this off","line":"The hooks runtime now skips work when only default handlers apply; two environment variables switch the shortcuts off","released_at":"2026-10-26 19:47:57","reason":"found in this entry's text"},{"version":"2.1.310","anchor":"workflowcode-runtime-gains-clockafter-and-envget-calls","heading":"Workflow scripts can now read environment variables and wait on a timer","line":"The script runtime now allows two more calls, clock.after and env.get, for timed delays and reading environment variables","released_at":"2026-10-23 21:20:46","reason":"found in this entry's text"},{"version":"2.1.299","anchor":"plugin-hook-modules-managed-policy-restrictions-and-new-ses","heading":"Plugin hook modules get more events and organization policy limits","line":"Plugin hook modules can respond to more events, while plugins people install themselves face limits where an organization manages Claude Code","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text"},{"version":"2.1.299","anchor":"plugin-runtime-mods-gain-uilog-envget-envset","heading":"Plugins gain entries for logging and environment variables","line":"The plugin runtime's list next to tool.register and tool.list now also includes ui.log, env.get and env.set","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text"},{"version":"2.1.280","anchor":"builtin-hooks-module-capability-manifests-expanded","heading":"Builtin hooks-module capability manifests expanded","line":"Builtin plugin hook modules were granted access to more host calls, including two new environment variables","released_at":"2026-09-22 15:44:39","reason":"found in this entry's text"},{"version":"2.1.277","anchor":"hook-manifest-scan-capability-list-expanded","heading":"Hook manifest scan capability list expanded","line":"The 'scan' hook set's allowed capabilities were expanded and ui.toast was removed","released_at":"2026-09-18 16:22:26","reason":"found in this entry's text"},{"version":"2.1.267","anchor":"new-pluginhook-capability-scopes-sessionusage-settingsr","heading":"New plugin\/hook capability scopes: session.usage, settings.read, env.get, env.set","line":"Plugins and hooks gain new permission scopes: session.usage, settings.read, env.get, env.set","released_at":"2026-09-09 18:25:42","reason":"found in this entry's text, named in this entry"},{"version":"2.1.267","anchor":"plugin-api-gains-fsreadwritelist-rename-plus-new-settings","heading":"Plugin API gains fs.read\/write\/list rename plus new settings.read, env.get, env.set","line":"Claude Code's plugin API renames its file actions and adds settings.read, env.get and env.set","released_at":"2026-09-09 18:25:42","reason":"found in this entry's text, named in this entry"}],"entries_total":12,"docs":[{"source":"claude-code","path":"plugins\/mods\/admin","title":"Manage mods for your organization","documented":false},{"source":"claude-code","path":"plugins\/mods\/test","title":"Test a mod","documented":false}],"docs_total":2,"gates":[],"related":[{"name":"env","slug":"env","description":"Set [environment variables](https:\/\/code.claude.com\/docs\/en\/env-vars.md#in-settings-files) for every session and its subprocesses"},{"name":"env.set","slug":"env-set","description":"Plugins and hooks gain new permission scopes: session.usage, settings.read, env.get, env.set"},{"name":"envHooksPath","slug":"envhookspath","description":null},{"name":"environment","slug":"environment","description":"Bridge sessions re-check local auto-mode environment settings before spawning when the work item requests one"},{"name":"environmentQuery","slug":"environmentquery","description":null}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/env-get","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}