Kiro: V3 hooks rewrite tool inputs and answer permission prompts
In V3 sessions, PreToolUse hooks can return updatedInput, and a PermissionRequest hook can answer allow or deny.
- Event type
- Feature
- Published by vendor
- Compiled here
What changed · Change details · Version timeline
Key change
In a V3 session, a PreToolUse hook can now return updatedInput to replace a tool call's inputs before the tool runs.
What changed
9 points
In a V3 session, a PreToolUse hook can now return updatedInput to replace a tool call's inputs before the tool runs.
Official wording · c1
In a V3 session, a PreToolUse hook can now return updatedInput to replace a tool call's inputs before the tool runs
Official wording · c1 In a V3 session, a PreToolUse hook can return updatedInput before the tool runs, alongside its allow, ask, or deny decision.
Official wording · c2
In a V3 session, a PreToolUse hook can now return updatedInput to replace a tool call's inputs before the tool runs, alongside its allow , ask , or deny decision.
Official wording · c2 A new PermissionRequest hook runs when a tool call would ask you for permission, and it can answer with allow or deny.
Official wording · c3
A new PermissionRequest hook runs when a tool call would ask you for permission and can answer with allow or deny
Official wording · c3 A script can therefore grant or refuse a call that would otherwise wait on you.
Official wording · c4
so a script grants or refuses a call that would otherwise wait on you
Official wording · c4 A deny from any hook wins over an allow.
Official wording · c5
A deny from any hook wins over an allow
Official wording · c5 A hook's permission answer applies to that one tool call only.
Official wording · c6
a hook's permission answer applies to that one tool call only
Official wording · c6 The agent recovers when a request exceeds the model's context window instead of failing the turn.
Official wording · c7
The agent recovers when a request exceeds the model's context window instead of failing the turn
Official wording · c7 Sandboxed commands and MCP servers on macOS can use POSIX semaphores.
Official wording · c8
Sandboxed commands and MCP servers on macOS can use POSIX semaphores
Official wording · c8 A failed file read no longer retries without approval as a path in your home folder.
Official wording · c9
A failed file read no longer retries without approval as a path in your home folder
Official wording · c9
Change details
This table organizes reviewed facts and retains their language. See each point’s quotation for the original text.
| ID | Subject | Action | Object | Scope | Polarity |
|---|---|---|---|---|---|
| c1 | PreToolUse hook | can return | updatedInput to replace a tool call's inputs before the tool runs | V3 session | |
| c2 | PreToolUse hook | can return updatedInput alongside | allow, ask, or deny decision | in a V3 session, before the tool runs | |
| c3 | PermissionRequest hook | runs and can answer | allow or deny when a tool call would ask for permission | ||
| c4 | script | grants or refuses | a call that would otherwise wait on the user | ||
| c5 | deny from any hook | wins over | allow | ||
| c6 | hook permission answer | applies to | that one tool call only | ||
| c7 | agent | recovers | when a request exceeds the model's context window instead of failing the turn | ||
| c8 | Sandboxed commands and MCP servers | can use | POSIX semaphores | macOS | |
| c9 | failed file read | no longer retries without approval | as a path in your home folder | Negated |
Version timeline
Published updates for this tool on this site, newest official date first.
- Standard conductor mode needs no preview switch; LTS excluded
- CurrentV3 hooks rewrite tool inputs and answer permission prompts
- CLI adds full-screen viewer for Mermaid diagrams too wide for terminal
- Kiro Enterprise admins can share credits across seated users
- Automatic V2 agent upgrades on by default at V3 session start
- Four models generally available with full Kiro support
About this tool
Kiro
Kiro is an agentic coding tool focused on spec-driven development, turning requirements into designs and tasks before implementation and checks.
CategoriesAI Coding
View Kiro detailsRelated guides
- Configure a Check Task That Runs After Kiro Saves a FileUse one PostFileSave hook to run your own check script after matching files are saved, then verify, adjust and disable it.
- Set Up Project Steering Files in KiroGenerate foundation steering files in a workspace, add one file-matched custom rule, then check that it applies and how to withdraw it.
- Implement a Small Feature with a Kiro Feature SpecUse the Feature Spec three-phase flow to generate and review three files for a small feature, then run the tasks and verify the result.
Source and notes
Official source · kiro.dev/changelog/cli/3-4
About this AI summary
This entry was compiled by AI from official sources and automatically checked. Found a mistake? Please send feedback.