cwd | string | No | Working directory for the agent process (absolute path; created automatically if missing when permissions allow) |
instructionsFilePath | string | No | Absolute path to a markdown instructions file prepended to the run prompt |
model | string | No | Gemini model ID (default: auto). Options: auto, gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.0-flash, gemini-2.0-flash-lite |
sandbox | boolean | No | Run in sandbox mode (default: false; passes --sandbox=none when false) |
promptTemplate | string | No | Prompt used for all runs |
command | string | No | CLI command to invoke (default: gemini) |
extraArgs | string[] | No | Additional CLI arguments |
env | object | No | Environment variables (supports secret refs) |
timeoutSec | number | No | Process timeout in seconds (0 = no timeout) |
graceSec | number | No | Grace period before force-kill after timeout/cancel |