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.

Kiro
Event type
Feature
Published by vendor
Compiled here
On this page

Key change

In a V3 session, a PreToolUse hook can now return updatedInput to replace a tool call's inputs before the tool runs.

Official source

What changed

9 points

  1. 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
  2. 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
  3. 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
  4. 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
  5. A deny from any hook wins over an allow.

    Official wording · c5

    A deny from any hook wins over an allow

    Official wording · c5
  6. 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
  7. 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
  8. 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
  9. 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.

IDSubjectActionObjectScopePolarity
c1PreToolUse hookcan returnupdatedInput to replace a tool call's inputs before the tool runsV3 session
c2PreToolUse hookcan return updatedInput alongsideallow, ask, or deny decisionin a V3 session, before the tool runs
c3PermissionRequest hookruns and can answerallow or deny when a tool call would ask for permission
c4scriptgrants or refusesa call that would otherwise wait on the user
c5deny from any hookwins overallow
c6hook permission answerapplies tothat one tool call only
c7agentrecoverswhen a request exceeds the model's context window instead of failing the turn
c8Sandboxed commands and MCP serverscan usePOSIX semaphoresmacOS
c9failed file readno longer retries without approvalas a path in your home folderNegated

Version timeline

Published updates for this tool on this site, newest official date first.

  1. Standard conductor mode needs no preview switch; LTS excluded
  2. CurrentV3 hooks rewrite tool inputs and answer permission prompts
  3. CLI adds full-screen viewer for Mermaid diagrams too wide for terminal
  4. Kiro Enterprise admins can share credits across seated users
  5. Automatic V2 agent upgrades on by default at V3 session start
  6. 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 details

Related guides

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.