Skip to content

docs: clarify permission context for raw input - #2138

Open
kocaemre wants to merge 1 commit into
agentclientprotocol:mainfrom
kocaemre:docs/permission-rawinput-context
Open

docs: clarify permission context for raw input#2138
kocaemre wants to merge 1 commit into
agentclientprotocol:mainfrom
kocaemre:docs/permission-rawinput-context

Conversation

@kocaemre

@kocaemre kocaemre commented Sep 9, 2026

Copy link
Copy Markdown

Summary

  • Clarifies that session/request_permission approvals are bound to the supplied toolCall context, not only the tool identity.
  • Advises clients to avoid presenting argument-dependent permission prompts as fully known when rawInput is absent/unavailable, and to show that gap or use stricter policy.

Closes #1979

Test Plan

  • npx prettier --check docs/protocol/v1/tool-calls.mdx
  • npm run spellcheck
  • git diff --check

Note: attempted an additional Claude Code review pass, but local Claude Code is not authenticated (Not logged in · Please run /login).

Signed-off-by: Emre K <110906681+kocaemre@users.noreply.github.com>
@kocaemre
kocaemre requested a review from a team as a code owner September 9, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Permission prompts can silently lose tool-call context: DefaultOnError on rawInput

1 participant