gemini_cli_execute_async
Run Gemini CLI commands asynchronously without waiting for completion; get a task ID and fetch results when ready.
Instructions
Start a Gemini CLI task in the background and return immediately with a task_id. Use gemini_cli_check_result to retrieve the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yolo | No | Enable auto confirmation (--yolo) | |
| debug | No | Enable debug logging (--debug) | |
| query | No | Query or command arguments passed to Gemini CLI (positional arguments). | |
| sandbox | No | Enable sandbox mode (--sandbox) | |
| extensions | No | Gemini CLI extensions (--extensions) | |
| working_dir | No | Working directory for the command (default: current directory) | |
| allowed_tools | No | Whitelisted tool names (--allowed-tools) | |
| approval_mode | No | Approval mode (--approval-mode) | |
| output_format | No | Output format (--output-format) | |
| screen_reader | No | Enable screen reader mode (--screen-reader) | |
| additional_args | No | Additional CLI arguments appended verbatim | |
| experimental_acp | No | Enable experimental ACP (--experimental-acp) | |
| include_directories | No | Additional directories (--include-directories) | |
| allowed_mcp_server_names | No | Whitelisted MCP server names (--allowed-mcp-server-names) |