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.

id string

Optional. The identifier of the ExecutableCode part this result is for. Only populated if the corresponding ExecutableCode has an id.

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