OptionalcodeRequired. The code to be executed.
OptionalidOptional. Unique identifier of the ExecutableCode part. The server returns the CodeExecutionResult with the matching id. This field is not supported in Vertex AI.
OptionallanguageRequired. Programming language of the code.
Code generated by the model that is meant to be executed, and the result returned to the model. Generated when using the
CodeExecutiontool, in which the code will be automatically executed, and a corresponding CodeExecutionResult will also be generated.