ExecutableCodePart interface

Represents the code that is executed by the model.

Signature:

export interface ExecutableCodePart 

Properties

Property Type Description
codeExecutionResult never
executableCode ExecutableCode
fileData never
functionCall never
functionResponse never
inlineData never
text never
thought never

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;

Signature:

text?: never;

ExecutableCodePart.thought

Signature:

thought?: never;

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

Last updated 2026-02-05 UTC.