consult_gemini
Send queries directly to Gemini CLI via the MCP server to retrieve AI-generated responses. Execute prompts in a specified directory for streamlined, straightforward interactions.
Instructions
Send a query directly to Gemini CLI.
This is the core function - a direct bridge between Claude and Gemini.
No caching, no sessions, no complexity. Just execute and return.
Args:
query: The question or prompt to send to Gemini
directory: Working directory (required)
model: Optional model name (flash, pro, etc.)
Returns:
Gemini's response
Input Schema
Name | Required | Description | Default |
---|---|---|---|
directory | Yes | ||
model | No | ||
query | Yes |
Input Schema (JSON Schema)
{
"properties": {
"directory": {
"title": "Directory",
"type": "string"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Model"
},
"query": {
"title": "Query",
"type": "string"
}
},
"required": [
"query",
"directory"
],
"title": "consult_geminiArguments",
"type": "object"
}