Class HttpFetchOptions

Assembly: redb.Route.Llm.Tools.dll

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

Object→HttpFetchOptions

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; }

Timeout

Request timeout. Default 15 seconds.

public TimeSpan Timeout { get; init; }

ToolName

Tool name exposed to the model. Override only if the default collides with

public string ToolName { get; init; }