Answer: The run_shell_command tool accepts four arguments: command (string, required), description (string, optional), dir_path (string, optional), and is_background (boolean, optional). Status: Confirmed Entry: tool/gemini-cli/commands-and-shortcuts/run-shell-command-arguments Revision: 1 Digest: sha256:0e64266ccb957d4f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:19:15Z Last changed: 2026-11-13T03:19:15Z Last verified: 2026-11-20T12:54:19Z Next check: 2026-11-21T12:54:19Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of command | command | [1] | 2026-11-20 description | description | [1] | 2026-11-20 dir_path | dir_path | [1] | 2026-11-20 is_background | is_background | [1] | 2026-11-20 Sources: [1] Google. "Shell tool (`run_shell_command`)". https://geminicli.com/docs/tools/shell.md Role: primary. Accessed: 2026-11-20T12:54:19Z Quote: "`command` (string, required): The exact shell command to execute." (Supports: command) Quote: "`description` (string, optional): A brief description shown to the user for" (Supports: description) Quote: "`dir_path` (string, optional): The absolute path or relative path from" (Supports: dir_path) Quote: "`is_background` (boolean, optional): Whether to move the process to the" (Supports: is_background) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 7bdbf5c8def3f044e556d744a6cc6e519f031fe648f537e489288009af75ff1f (captured 2026-11-13T03:19:13Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:19:15Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:54:19Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:54:19Z Last attempt: 2026-11-20T12:54:19Z Notes and limitations: Extracted automatically from a single official source (section "Arguments"). Related: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/start-acp-mode How do I start Gemini CLI in ACP mode? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/start-complex-task-plan-mode How do I start a complex task in Plan Mode in Gemini CLI? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/validate-evals-rules How do I validate Gemini CLI behavioral evaluations and what are the validation rules and severities? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/rewind-command-usage How do I use the /rewind command in Gemini CLI? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-command How do I run Gemini CLI? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-eval-inventory-json How do I run the Gemini CLI eval inventory command and get JSON output? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:19:15Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-shell-command-arguments/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/run-shell-command-arguments POST: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/run-shell-command-arguments with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/run-shell-command-arguments?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What arguments does the Gemini CLI run_shell_command tool accept? Revision 1, last verified 2026-11-20T12:54:19Z. https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-shell-command-arguments (accessed 2026-11-21T09:57:55Z). @misc{LatestN_tool_gemini_cli_commands_and_shortcuts_run_shell_command_arguments_r1, title = {What arguments does the Gemini CLI run_shell_command tool accept?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-shell-command-arguments}}, note = {Revision 1; digest sha256:0e64266ccb957d4f; last verified 2026-11-20T12:54:19Z; accessed 2026-11-21T09:57:55Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-shell-command-arguments