Skip to content
Docs Try Aspire
Docs Try

CodeInterpreterToolResource Constructors

Class Constructors 1 member
A Foundry tool resource that enables an agent to write and run Python code in a sandboxed environment for data analysis, math, and chart generation.
Constructor(string, AzureCognitiveServicesProjectResource) Section titled Constructor(string, AzureCognitiveServicesProjectResource)
Creates a new instance of the CodeInterpreterToolResource class.
public sealed class CodeInterpreterToolResource
{
public CodeInterpreterToolResource(
string name,
AzureCognitiveServicesProjectResource project)
{
// ...
}
}
name string The name of the tool resource.
project AzureCognitiveServicesProjectResource The parent Foundry project resource.