Gemini CLI
Models, options, and features for Gemini CLI.
Send a gemini block to run a session with Gemini CLI.
JSON
1
{
2
"gemini": {
3
"prompt": "Find and fix the failing test.",
4
"model": "gemini-3.8-flash"
5
}
6
}
In agent YAML, the same fields go under session.gemini. The CLI picks the harness from --model.
Shell
1
el --model gemini-4-argon -e cloud_agent_environment "Find and fix the failing test."
Options
The task.
gemini-4-argon or gemini-3.8-flash.
Features
| Feature | Support |
|---|---|
| Follow-up messages | All models |
| MCP servers | All models |
| JSON output | All models |
| Skills | Not supported |
| Images in messages | Not supported |
Gemini CLI reads the session instructions and your repository GEMINI.md files. Its own web search and web fetch tools are off.