跳到正文
FunCoding

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.

Star
10,717
分类
其他
许可证
Apache-2.0
最近提交
2026年12月1日

core/python/adk-voice-agent/sandbox/skills/approvals/SKILL.md

在 GitHub 上查看

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.

相似的 Skill

software-factory

MAmattpocock/skills336k近 7 天新增 5,004 个 star

claude-handoff

MAmattpocock/skills336k近 7 天新增 5,004 个 star

agent-payment-x402

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

agent-self-evaluation

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

bengali-nlp

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

ponytail-gain

DIDietrichGebert/ponytail202k近 7 天新增 4,780 个 star