Path: redb-route/redb.Route.Llm.Tools/JsonPathOptions.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Llm.Tools/JsonPathOptions.cs
----
namespace redb.Route.Llm.Tools;
///
/// Configuration for .
///
public sealed class JsonPathOptions
{
///
/// Endpoint URI the tool is mounted on. Default "direct:llm.json_path".
///
public string EndpointUri { get; init; } = "direct:llm.json_path";
///
/// Tool name exposed to the model. Default "json_path".
///
public string ToolName { get; init; } = "json_path";
///
/// Maximum length of the inbound json string in characters. Anything
/// larger is rejected with an before parsing
/// — guards against the model handing the tool an entire response body.
/// Default 1 MiB.
///
public int MaxJsonChars { get; init; } = 1_048_576;
}