public sealed class Tool.Types.CodeExecution : IMessage<Tool.Types.CodeExecution>, IEquatable<Tool.Types.CodeExecution>, IDeepCloneable<Tool.Types.CodeExecution>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1 API class Tool.Types.CodeExecution.
Tool that executes code generated by the model, and automatically returns
the result to the model.
See also [ExecutableCode]and [CodeExecutionResult] which are input and
output to this tool.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eTool.Types.CodeExecution\u003c/code\u003e class within the Vertex AI v1 API, used for executing model-generated code and returning results.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCodeExecution\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the API documentation for \u003ccode\u003eCodeExecution\u003c/code\u003e, ranging from version 3.22.0 (latest) down to 1.0.0, showing the version history.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCodeExecution\u003c/code\u003e interacts with \u003ccode\u003eExecutableCode\u003c/code\u003e and \u003ccode\u003eCodeExecutionResult\u003c/code\u003e, which are respectively the input and output of the tool.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes information about the namespace (\u003ccode\u003eGoogle.Cloud.AIPlatform.V1\u003c/code\u003e), the assembly (\u003ccode\u003eGoogle.Cloud.AIPlatform.V1.dll\u003c/code\u003e), and the constructors for \u003ccode\u003eCodeExecution\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]