struct AI::Google::Tools::CodeExecution

Overview

Code execution tool.

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

Defined in:

ai/google/google_tools.cr

Constant Summary

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

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def args : Hash(String, JSON::Any) #

[View source]
def id : String #

[View source]
def name : String #

[View source]
def type : String #

[View source]