Class CodeExecution (1.79.0)

CodeExecution(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Methods

CodeExecution

CodeExecution(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.