{"version":"2.1.289","anchor":"new-function-hooks-capability-plugin-function-hooks-selecti","canonical_anchor":"new-function-hooks-capability-plugin-function-hooks-selecti","heading":"Plugin function hooks get a capability named for reading the selection","tier":"internal","area":"Plugin Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.289\/e\/new-function-hooks-capability-plugin-function-hooks-selecti","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.289","markdown":"### Plugin function hooks get a capability named for reading the selection\n\nA plugin function-hook capability called `plugin_function_hooks_selection_read` now exists, along with a new internal control message\n\n**Unclear.** What this capability allows and what the new control message does are both unclear.\n\n**What**\n\nPlugin function hooks are pieces of plugin code that Claude Code calls at certain points. A capability called `plugin_function_hooks_selection_read` has been added to the list of names they can use. Claude Code also gained a new kind of internal control message, sent from the client to the loop that runs the conversation.\n\n**Why**\n\nThe capability's name points to plugins reading the user's text selection through function hooks.\n\n- Area: Plugin Hooks\n- Names: `plugin_function_hooks_selection_read`\n- Tier: Under the hood\n- Useful: 4\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}