Approvals approvals

What to do when a tool call is paused for the user's approval or declined (sending, inviting, deleting, posting, merging), and when you are resumed after one.

Works in Claude, ChatGPT, Codex and more
Our test
8/10✓ Verified
tested Dec 6, 2026
GitHub stars
11k
google/adk-samples
Added by
0
members
Updated
Dec 6
commit 14e4d8e
Content
1 file
no scripts · 1 KB
License
Apache 2.0
free to use

What our test found

Clear, practical guidance for pausing gated actions, respecting declines, and retrying approved calls only with the original arguments.

Request we tested it on“Send this message to Jordan: “The revised proposal is ready for review.””

Limits spotted

  • Assumes the voice_agent gateway and approval state are configured; does not explain how to handle missing or ambiguous approval results.
View on GitHub ↗
name: approvals
description: What to do when a tool call is paused for the user's approval or declined (sending, inviting, deleting, posting, merging), and when you are resumed after one.

Approvals

Gated MCP calls that reach other people or delete data trigger request_permission on the voice_agent gateway, move the thread to awaiting_approval, and return "Paused for the user's approval of: …". Prepare everything first so the gated call comes last, then call the tool directly.

When a call is paused

  1. Stop immediately. Do not retry or work around the gate via another tool, CLI, curl, or API.
  2. End your turn with one sentence stating what is waiting for approval.

When resumed

  • Approved: call the exact same tool with the exact same arguments once. Changed arguments require a new approval.
  • Declined: do not perform the action; continue without it or explain what it blocks.

Guidelines

  • Prefer a draft (Gmail draft, Markdown file) unless the user explicitly asked to send, invite, post, or merge.
  • Shell commands denied by policy are final—do not bypass them; report what was blocked.