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. This data type is not supported in Gemini API.
  • Constructor Details

    • ToolCodeExecution

      public ToolCodeExecution()
  • Method Details