Class HttpFetchOptions
Configuration for . Defaults are conservative so
the tool is safe to expose to a model out of the box; tighten for production.
public sealed class HttpFetchOptions
Inheritance
Properties
EndpointUri
Endpoint URI the tool is mounted on. Override only if the default collides
public string EndpointUri { get; init; }
HostAllowlist
Allowed hosts (case-insensitive, exact match). When non-empty, requests to any
public IReadOnlyCollection<string> HostAllowlist { get; init; }
MaxBytes
Maximum response body size in bytes. Bytes past the limit are not buffered and
public int MaxBytes { get; init; }
ToolName
Tool name exposed to the model. Override only if the default collides with
public string ToolName { get; init; }