gemini_run
Send a prompt to Google Gemini via the local gemini CLI. Direct LLM call with no OpenClaw overhead, using cached Google auth.
Instructions
Send a prompt to Google Gemini via the local gemini CLI. Fast, direct LLM call with no OpenClaw overhead. Uses cached Google auth — no API key required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Gemini model to use, e.g. "gemini-2.5-pro" or "gemini-2.5-flash". Omit to use the configured default (GEMINI_MODEL env var). | |
| prompt | Yes | Prompt or question to send to the Gemini AI model. | |
| timeout_seconds | No | Max seconds to wait for a response. | |
| working_directory | No | Working directory for the Gemini process. Set this to the project root so Gemini can read local files. Defaults to the user home directory. |