Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

AzureCognitiveServicesProjectResource.addCodeInterpreterTool

Method
📦 Aspire.Hosting.Foundry v13.6.0-preview.1.26478.8
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
addCodeInterpreterTool(name: string): CodeInterpreterToolResource;
}

Signature

methodaddCodeInterpreterToolbuilder
Adds a Code Interpreter tool to a Microsoft Foundry project, enabling agents to write and run Python code in a sandboxed environment for data analysis, math, and chart generation.
addCodeInterpreterTool(name: string): CodeInterpreterToolResource
namestring
CodeInterpreterToolResource

Defined on

This method is defined on the following type: