본문으로 건너뛰기

google/adk-recipes

A collection of agent recipes, reference patterns, and vertical plugins built with Agent Development Kit (ADK)

https://skillcdn.ai/gh/google/adk-recipes

내 AI에 이 주소를 연결하면 이 스킬을 쓸 수 있어요. 연결 방법 보기

  • 미확인
  • 기본 브랜치main
  • 커밋c003b3c
  • 라이선스Apache-2.0
  • 검색단어
GitHub에서 보기

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.

경로
core/python/adk-voice-agent/sandbox/skills/approvals/SKILL.md
라이선스
Apache-2.0

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.

이 스킬의 파일

이 스킬에는 보조 파일이 없습니다.

지원 파일 전체 둘러보기