aistudio_prompt
Run text or multimodal prompts in Google AI Studio, attach local files, and optionally use Google Search grounding via a signed-in browser or Gemini API key.
Instructions
Run a text or multimodal prompt in Google AI Studio (chat playground or Gemini API).
Args: prompt: The prompt or question to run. model: Optional model name (e.g. 'gemini-4-hydrogen', 'gemini-4-neon'). system_instruction: Optional system instruction. files: Optional list of local file paths (images, PDFs, audio, video) to attach. google_search: Enable Google Search grounding when True. temperature: Optional sampling temperature (API mode). use_browser: True (default) uses your signed-in Chrome session at aistudio.google.com; False uses GEMINI_API_KEY.
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": "aistudio_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| model | No | ||
| prompt | Yes | ||
| temperature | No | ||
| use_browser | No | ||
| google_search | No | ||
| system_instruction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |