語言

HostedMcpServerTool.AllowedTools 屬性

定義

取得或設定 AI 服務允許使用的工具清單。

public:
 property System::Collections::Generic::IList<System::String ^> ^ AllowedTools { System::Collections::Generic::IList<System::String ^> ^ get(); void set(System::Collections::Generic::IList<System::String ^> ^ value); };
public System.Collections.Generic.IList<string>? AllowedTools { get; set; }
member this.AllowedTools : System.Collections.Generic.IList<string> with get, set
Public Property AllowedTools As IList(Of String)

屬性值

備註

預設值為 null,允許使用任何工具。

適用於