gemini-code-execute
Execute Python code in a secure sandbox with context-aware enhancements for tasks like data science, automation, and testing using built-in preferences on Gemini.
Instructions
Execute Python code using Gemini's built-in code execution sandbox (with learned user preferences)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Python code to execute in the sandbox | |
context | No | Optional context for intelligent enhancement (e.g., "data-science", "automation", "testing") |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "Python code to execute in the sandbox",
"type": "string"
},
"context": {
"description": "Optional context for intelligent enhancement (e.g., \"data-science\", \"automation\", \"testing\")",
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
}