ModelContextGetToolOptions Class

The options of ModelContext.GetTools (https://webmachinelearning.github.io/webmcp/#dictdef-modelcontextgettooloptions).

public sealed class ModelContextGetToolOptions

Constructors

NameDescription
ModelContextGetToolOptions()

ModelContextGetToolOptions()

public ModelContextGetToolOptions()

No documentation is available.

Properties

NameDescription
FromOriginsGets 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.

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.

public IReadOnlyList<string>? FromOrigins { get; init; }