ModelContextGetToolOptions Class
The options of ModelContext.GetTools (https://webmachinelearning.github.io/webmcp/#dictdef-modelcontextgettooloptions).
public sealed class ModelContextGetToolOptionsConstructors
| Name | Description |
|---|---|
| ModelContextGetToolOptions() |
ModelContextGetToolOptions()
public ModelContextGetToolOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| FromOrigins | Gets the origins of the cross-origin documents whose tools are returned (when they expose them to the caller), or null: the tools of the documents same origin with the caller are always returned. |
FromOrigins
ModelContextTypes.csGets the origins of the cross-origin documents whose tools are returned (when they expose them to the caller), or null: the tools of the documents same origin with the caller are always returned.
public IReadOnlyList<string>? FromOrigins { get; init; }