CodeExecutionResultPart interface Stay organized with collections Save and categorize content based on your preferences.
Represents the code execution result from the model.
Signature:
exportinterfaceCodeExecutionResultPartProperties
| Property | Type | Description |
|---|---|---|
| codeExecutionResult | CodeExecutionResult | |
| executableCode | never | |
| fileData | never | |
| functionCall | never | |
| functionResponse | never | |
| inlineData | never | |
| text | never | |
| thought | never |
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.