gemini_spawn_agent
Delegate frontend, general implementation, or writing work by spawning a Gemini subagent that returns a durable task ID for follow-ups and idempotent retries after disconnects.
Instructions
Spawn a Gemini subagent, like Codex spawn_agent. Defaults to frontend / Gemini 3.8 Flash High. Specify task_name, message, existing absolute workspace and capabilities. Returns a durable id used as target for communication and follow-ups. Supply a stable idempotency_key to safely resubmit after an uncertain disconnect; the same key and request return the original task without executing again. Fixed command grants have local user privileges; inspect them before granting. permissions.native_tools=true explicitly enables provider native tools beyond fixed grants and requires write=true. Native effects are not tracked; independently verify the final report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | frontend | |
| message | Yes | ||
| max_turns | No | ||
| task_name | No | ||
| workspace | Yes | ||
| permissions | No | ||
| idempotency_key | No |