Skip to content
Docs Try Aspire
Docs Try

addCodeInterpreterTool

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

Signature

method addCodeInterpreterTool builder
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
name string
CodeInterpreterToolResource

Applies to

This method applies to the following types: