Class ToolCodeExecution

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ToolCodeExecution

public abstract class ToolCodeExecution extends JsonSerializable
Tool that executes code generated by the model, and automatically returns the result to the model. See also [ExecutableCode]and [CodeExecutionResult] which are input and output to this tool.
  • Constructor Details

    • ToolCodeExecution

      public ToolCodeExecution()
  • Method Details