CodeExecutionResult

result of executing the ExecutableCode.

Generated only when the CodeExecution tool is used.

Fields
outcome enum (Outcome)

Required. Outcome of the code execution.

output string

Optional. Contains stdout when code execution is successful, stderr or other description otherwise.

JSON representation
{
  "outcome": enum (Outcome),
  "output": string
}