---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/interfaces/ScrapperResponseContext.md
description: >-
  Mutable context handed to each output-pipeline stage **after** the response
  JSON is parsed.
---

# Interface: ScrapperResponseContext\<R>

Defined in: [batteries/tools/scrapper/shared.ts:137](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/scrapper/shared.ts#L137)

Mutable context handed to each output-pipeline stage **after** the response JSON is parsed.

## Type Parameters

| Type Parameter | Description                                                          |
| -------------- | -------------------------------------------------------------------- |
| `R`            | The verb's normalised result type (article object or links payload). |

## Properties

| Property                                  | Modifier   | Type                                                  | Description                                                             | Defined in                                                                                                                            |
| ----------------------------------------- | ---------- | ----------------------------------------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|  `format`     | `public`   | `"raw"` | `"normalized"`                             | The effective payload shape for this call.                              | [batteries/tools/scrapper/shared.ts:147](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/scrapper/shared.ts#L147) |
|  `output?`    | `public`   | `string`                                              | When set, used verbatim as the tool's output (overrides serialisation). | [batteries/tools/scrapper/shared.ts:149](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/scrapper/shared.ts#L149) |
|  `raw`           | `public`   | `unknown`                                             | The parsed Scrapper JSON body. Mutable (used when `format` is `raw`).   | [batteries/tools/scrapper/shared.ts:143](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/scrapper/shared.ts#L143) |
|  `request`   | `readonly` | [`ScrapperRequestContext`](ScrapperRequestContext.md) | The request context as it was sent (post-input-pipeline).               | [batteries/tools/scrapper/shared.ts:141](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/scrapper/shared.ts#L141) |
|  `result`     | `public`   | `R`                                                   | The normalised result. Mutable — reshape, redact, enrich.               | [batteries/tools/scrapper/shared.ts:145](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/scrapper/shared.ts#L145) |
|  `stash`       | `readonly` | `Map`<`string`, `unknown`>                          | Cross-stage scratch space; carried over from the request context.       | [batteries/tools/scrapper/shared.ts:151](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/scrapper/shared.ts#L151) |
|  `toolName` | `readonly` | `string`                                              | The tool's name (read-only).                                            | [batteries/tools/scrapper/shared.ts:139](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/scrapper/shared.ts#L139) |
