ask-geminimodel selection [-m], sandbox [-s], and changeMode:boolean for providing editsInput schema{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"description": "Analysis request. Use @ syntax to include files (e.g., '@largefile.js explain what this does') or ask general questions"
},
"model": {
"type": "string",
"description": "Optional model to use (e.g., 'gemini-3-flash-preview'). If not specified, uses the default model (gemini-3-pro-preview)."
},
"sandbox": {
"type": "boolean",
"default": false,
"description": "Use sandbox mode (-s flag) to safely test code changes, execute scripts, or run potentially risky operations in an isolated environment"
},
"changeMode": {
"type": "boolean",
"default": false,
"description": "Enable structured change mode - formats prompts to prevent tool errors and returns structured edit suggestions that Claude can apply directly"
},
"chunkIndex": {
"type": [
"number",
"string"
],
"description": "Which chunk to return (1-based)"
},
"chunkCacheKey": {
"type": "string",
"description": "Optional cache key for continuation"
},
"session_id": {
"type": [
"string",
"number"
],
"description": "Session ID or index to resume a previous conversation context (maps to --resume)"
},
"approval_mode": {
"type": "string",
"enum": [
"default",
"auto_edit",
"yolo"
],
"default": "yolo",
"description": "Autonomy control: 'default' (ask), 'auto_edit' (allow edits), 'yolo' (allow all)"
},
"include_directories": {
"type": "array",
"items": {
"type": "string"
},
"description": "Additional directories to include in the workspace context"
},
"output_format": {
"type": "string",
"enum": [
"text",
"json",
"stream-json"
],
"description": "Output format: 'text' (default), 'json', or 'stream-json'"
},
"experimental_acp": {
"type": "boolean",
"description": "Enable experimental ACP (Agentic Coding Protocol) mode"
},
"allowed_tools": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specific tools to allow without confirmation (overrides approval_mode)"
}
},
"required": [
"prompt"
]
} | — | | — |
brainstormGenerate novel ideas with dynamic context gathering. --> Creative frameworks (SCAMPER, Design Thinking, etc.), domain context integration, idea clustering, feasibility analysis, and iterative refinement.Input schema{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"description": "Primary brainstorming challenge or question to explore"
},
"model": {
"type": "string",
"description": "Optional model to use (e.g., 'gemini-3-flash-preview'). If not specified, uses the default model (gemini-3-pro-preview)."
},
"methodology": {
"type": "string",
"enum": [
"divergent",
"convergent",
"scamper",
"design-thinking",
"lateral",
"auto"
],
"default": "auto",
"description": "Brainstorming framework: 'divergent' (generate many ideas), 'convergent' (refine existing), 'scamper' (systematic triggers), 'design-thinking' (human-centered), 'lateral' (unexpected connections), 'auto' (AI selects best)"
},
"domain": {
"type": "string",
"description": "Domain context for specialized brainstorming (e.g., 'software', 'business', 'creative', 'research', 'product', 'marketing')"
},
"constraints": {
"type": "string",
"description": "Known limitations, requirements, or boundaries (budget, time, technical, legal, etc.)"
},
"existingContext": {
"type": "string",
"description": "Background information, previous attempts, or current state to build upon"
},
"ideaCount": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100,
"default": 12,
"description": "Target number of ideas to generate (default: 12, max: 100)"
},
"includeAnalysis": {
"type": "boolean",
"default": true,
"description": "Include feasibility, impact, and implementation analysis for generated ideas"
}
},
"required": [
"prompt"
]
} | — | | — |
fetch-chunkRetrieves cached chunks from a changeMode response. Use this to get subsequent chunks after receiving a partial changeMode response.Input schema{
"type": "object",
"properties": {
"cacheKey": {
"type": "string",
"description": "The cache key provided in the initial changeMode response"
},
"chunkIndex": {
"type": "number",
"minimum": 1,
"description": "Which chunk to retrieve (1-based index)"
}
},
"required": [
"cacheKey",
"chunkIndex"
]
} | — | | — |
Helpreceive help informationInput schema{
"type": "object",
"properties": {},
"required": []
} | — | | — |
manage-extensionsManage Gemini CLI extensions: list, install, uninstall, update, enable, disable.Input schema{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"list",
"install",
"uninstall",
"update",
"enable",
"disable",
"validate"
],
"description": "The action to perform on extensions."
},
"target": {
"type": "string",
"description": "The name, path, or URL of the extension. Required for install, uninstall, enable, disable, update (single), and validate."
},
"all": {
"type": "boolean",
"description": "Update all extensions. Only valid with 'update' action."
},
"scope": {
"type": "string",
"description": "Scope for enable/disable (e.g. 'project' or 'global'). Defaults to project if omitted."
}
},
"required": [
"action"
]
} | — | | — |
manage-sessionsManage conversation sessions: list active sessions or delete old ones.Input schema{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"list",
"delete"
],
"default": "list",
"description": "Action to perform: 'list' active sessions or 'delete' a specific session"
},
"session_id": {
"type": "string",
"description": "Session ID or index to delete (required for 'delete' action)"
}
},
"required": []
} | — | | — |
pingEchoInput schema{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"default": "",
"description": "Message to echo back"
}
},
"required": []
} | — | | — |
timeout-testTest timeout prevention by running for a specified durationInput schema{
"type": "object",
"properties": {
"duration": {
"type": "number",
"minimum": 10,
"description": "Duration in milliseconds (minimum 10ms)"
}
},
"required": [
"duration"
]
} | — | | — |