Skip to content
DocsTry Aspire
DocsTry

addCodeInterpreterTool

Method
📦 Aspire.Hosting.Foundry v13.4.0-preview.1.26281.18
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

Applies to

This method applies to the following types: