Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddCodeInterpreterTool

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2
func (AzureCognitiveServicesProjectResource) 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
namestringThe name of the tool resource.
CodeInterpreterToolResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: