ProjectsAgentsModelFactory.CodeInterpreterToolboxTool Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A code interpreter tool stored in a toolbox.
public static Azure.AI.Projects.Agents.CodeInterpreterToolboxTool CodeInterpreterToolboxTool(string name = default, string description = default, System.Collections.Generic.IDictionary<string,Azure.AI.Projects.Agents.ToolConfig> toolConfigs = default, BinaryData internalContainer = default);
static member CodeInterpreterToolboxTool : string * string * System.Collections.Generic.IDictionary<string, Azure.AI.Projects.Agents.ToolConfig> * BinaryData -> Azure.AI.Projects.Agents.CodeInterpreterToolboxTool
Public Shared Function CodeInterpreterToolboxTool (Optional name As String = Nothing, Optional description As String = Nothing, Optional toolConfigs As IDictionary(Of String, ToolConfig) = Nothing, Optional internalContainer As BinaryData = Nothing) As CodeInterpreterToolboxTool
Parameters
- name
- String
Optional user-defined name for this tool or configuration.
- description
- String
Optional user-defined description for this tool or configuration.
- toolConfigs
- IDictionary<String,ToolConfig>
Per-tool configuration map. Keys are tool names or * (catch-all default).
Resolution order: exact tool name match takes priority over *.
Unknown tool names are silently ignored at runtime.
- internalContainer
- BinaryData
The code interpreter container. Can be a container ID or an object that
specifies uploaded file IDs to make available to your code, along with an
optional memory_limit setting.
If not provided, the service assumes auto.
Returns
A new CodeInterpreterToolboxTool instance for mocking.