CodeInterpreterTool
A tool for interpreting and executing code. This tool allows an AI agent to run code snippets and analyze data files.
Class Diagram
Section titled “Class Diagram”---
title: CodeInterpreterTool
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class Tool {
+string name
+string kind
+string description
+Binding[] bindings
}
Tool <|-- CodeInterpreterTool
class CodeInterpreterTool {
+string kind
+string[] fileIds
}
Yaml Example
Section titled “Yaml Example”kind: code_interpreterfileIds: - file1 - file2Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| kind | string | The kind identifier for code interpreter tools |
| fileIds | string[] | The IDs of the files to be used by the code interpreter tool. |