{"version":"2.1.299","anchor":"tengu-linear-owl-gates-host-worded-permission-display-from-p","canonical_anchor":"tengu-linear-owl-gates-host-worded-permission-display-from-p","heading":"Apps built on the SDK can word their own permission prompts","tier":"soon","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/tengu-linear-owl-gates-host-worded-permission-display-from-p","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### Apps built on the SDK can word their own permission prompts\n\nApps embedding Claude Code can supply the wording of a permission prompt from a PreToolUse hook, off unless switched on remotely\n\n**What**\n\nThe SDK lets other apps (hosts) run Claude Code inside them. A `PreToolUse` hook runs before a tool is used. When a host's own `PreToolUse` hook handles the input, it can now supply the title, description and display name shown on the permission card, the prompt asking you to allow an action. This is off unless it is switched on remotely.\n\nClaude Code ignores that text when:\n\n- any character in it could not be shown exactly as written\n\n- the tool's input was rewritten\n\nThe request a host gets when a tool needs permission also carries more detail, including where the deciding rule came from and whether a server policy only allows asking.\n\n**Why**\n\nOnce switched on, apps built on Claude Code can describe actions in their own words, while text that would display misleadingly is not shown.\n\n- Flag `tengu_linear_owl`: Not enough to say (read for one account on one subscription tier against v2.1.299; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: SDK\n- Names: `PreToolUse`\n- Tier: Nothing to try yet\n- Useful: 4\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}