gemini_ask
Ask Gemini questions, review local files, or get a second opinion on code/design using your Google AI Pro plan, with no API cost.
Instructions
Ask Gemini a question or give it a reading task, through the Antigravity CLI on the user's Google AI Pro plan (no API cost; uses the plan's limits).
Good for a second opinion on code or a design, reviewing local files passed
in `paths`, and long reasoning. The text of each file up to 20 000
characters goes into the prompt, so pass the files themselves; Gemini
can't open folders or larger files on its own when the Antigravity CLI
runs headless. Gemini runs read-only: it can search the web but cannot
change files or run commands. For web research with cited sources use
gemini_research; to let Gemini edit a folder use gemini_code.
Args:
prompt: The question or task.
model: Model id from gemini_models (e.g. "gemini-3.8-flash-medium");
default is agy's (or GEMINI_PRO_AGY_MODEL).
paths: Local files for Gemini to read; their text is sent with the
prompt (about 22 000 characters in all).
conversation_id: Continue an earlier gemini_ask/gemini_research chat.
effort: Reasoning effort: low, medium, high, xhigh or max.
Returns:
Gemini's answer and a conversation_id for follow-ups.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "gemini_ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| paths | No | ||
| effort | No | ||
| prompt | Yes | ||
| conversation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |