Interface: SearxngResponseContext
Defined in: batteries/tools/searxng/index.ts:108
Mutable context handed to each output-pipeline stage after the response JSON is parsed.
Remarks
Stages reshape, redact, enrich, or re-rank SearxngResponseContext.results, mutate the raw body, or set SearxngResponseContext.output to override the serialised string verbatim (e.g. to render markdown that matches a markdown artifact resolver).
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
format | public | "raw" | "normalized" | The effective payload shape for this call. | batteries/tools/searxng/index.ts:118 |
output? | public | string | When set, used verbatim as the tool's output (overrides serialisation). | batteries/tools/searxng/index.ts:120 |
raw | public | unknown | The parsed SearXNG JSON body. Mutable (used when format is raw). | batteries/tools/searxng/index.ts:114 |
request | readonly | SearxngRequestContext | The request context as it was sent (post-input-pipeline). | batteries/tools/searxng/index.ts:112 |
results | public | SearxngResult[] | The normalised result list. Mutable — filter, redact, or re-rank. | batteries/tools/searxng/index.ts:116 |
stash | readonly | Map<string, unknown> | Cross-stage scratch space; carried over from the request context. | batteries/tools/searxng/index.ts:122 |
toolName | readonly | string | The tool's name (read-only). | batteries/tools/searxng/index.ts:110 |