Search the documentation
4 pages for updatedpermissions.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…ngs` [destination](#permissionupdatedestination), so returning it in `updatedPermissions` writes the rule to `.claude/settings.local.json` and persists across sessions. | | `blockedPath` | `string`…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…/en/agent-sdk/typescript#permissionupdate) entries. Echo one back in `updatedPermissions` to apply it. A suggestion with the `localSettings` destination writes the rule to `.claude/settings.local.json…
Hooks reference
Claude Code CLI · in the page
hooks
…s. The modified input is re-evaluated against deny and ask rules | | `updatedPermissions` | For `"allow"` only: array of [permission update entries](#permission-update-entries) to apply, such as addin…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…specific permission mode instead, your hook's output can include an `updatedPermissions` array with a `setMode` entry. The `mode` value is any permission mode like `default`, `acceptEdits`, or `bypas…