Class HttpFetchTool

Assembly: redb.Route.Llm.Tools.dll

Standalone RouteBuilder wrapper that mounts
behind a tool route. Prefer the
DSL extension .HttpFetch(opts) on any existing route — this shim is
only useful when you want a self-contained RouteBuilder to hand to
context.AddRoutes(...).

Input schema: {"url":"https://..."}. Response body is returned as
UTF-8 text in exchange.Out.Body; bytes past
are truncated.

public sealed class HttpFetchTool : RouteBuilder, IRouteBuilder

Inheritance

Object→RouteBuilder→HttpFetchTool

Implements

Inherited Members

Methods

Configure()

Override this method to define routes using .

protected override void Configure()

Constructors

HttpFetchTool(HttpFetchOptions)

Creates the tool with the given options.