struct

AI::Google::Tools::CodeExecution

Inherits Struct < Value < Object

Code execution tool.

Enables the model to generate and run Python code. Multi-tool usage typically compatible with Gemini >=2 models.

Constants

ID = "google.code_execution"
NAME = "code_execution"

Constructors

Instance methods

args
Source
name
Source
type
Source