ExecutableCodePart interface

Represents the code that is executed by the model.

Signature:

exportinterfaceExecutableCodePart

Properties

PropertyTypeDescription
codeExecutionResultnever
executableCodeExecutableCode
fileDatanever
functionCallnever
functionResponsenever
inlineDatanever
textnever
thoughtnever

ExecutableCodePart.codeExecutionResult

Signature:

codeExecutionResult?:never;

ExecutableCodePart.executableCode

Signature:

executableCode?:ExecutableCode;

ExecutableCodePart.fileData

Signature:

fileData:never;

ExecutableCodePart.functionCall

Signature:

functionCall?:never;

ExecutableCodePart.functionResponse

Signature:

functionResponse?:never;

ExecutableCodePart.inlineData

Signature:

inlineData?:never;

ExecutableCodePart.text

Signature:

text?:never;

ExecutableCodePart.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.