CodeExecutionResultPart interface

Represents the code execution result from the model.

Signature:

exportinterfaceCodeExecutionResultPart

Properties

PropertyTypeDescription
codeExecutionResultCodeExecutionResult
executableCodenever
fileDatanever
functionCallnever
functionResponsenever
inlineDatanever
textnever
thoughtnever

CodeExecutionResultPart.codeExecutionResult

Signature:

codeExecutionResult?:CodeExecutionResult;

CodeExecutionResultPart.executableCode

Signature:

executableCode?:never;

CodeExecutionResultPart.fileData

Signature:

fileData:never;

CodeExecutionResultPart.functionCall

Signature:

functionCall?:never;

CodeExecutionResultPart.functionResponse

Signature:

functionResponse?:never;

CodeExecutionResultPart.inlineData

Signature:

inlineData?:never;

CodeExecutionResultPart.text

Signature:

text?:never;

CodeExecutionResultPart.thought

Signature:

thought?:never;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-05 UTC.