---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/tools/web_retrieval/interfaces/ArticleToRetrievableOptions.md
description: 'Options for [`scrapperArticleToRetrievable`](https://adk.nht.io/api/@nhtio/adk/batteries/tools/web_retrieval/functions/scrapperArticleToRetrievable).'
---

# Interface: ArticleToRetrievableOptions

Defined in: [batteries/tools/web\_retrieval/index.ts:193](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/web_retrieval/index.ts#L193)

Options for [scrapperArticleToRetrievable](../functions/scrapperArticleToRetrievable.md).

## Extends

* [`ToRetrievableOptions`](ToRetrievableOptions.md)

## Properties

| Property                                             | Type                                                                              | Description                                                                                                                                                        | Inherited from                                                                                              | Defined in                                                                                                                                    |
| ---------------------------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|  `asMarkdown?`       | `boolean`                                                                         | Whether the chosen content is markdown (recommend `markdown`) rather than plain text. Default false. Use when an output pipeline rendered the article to markdown. | -                                                                                                           | [batteries/tools/web\_retrieval/index.ts:200](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/web_retrieval/index.ts#L200) |
|  `contentSource?` | [`ArticleContentSource`](../type-aliases/ArticleContentSource.md)                 | Which field to use as content (default `'textContent'`). `'content'` is HTML.                                                                                      | -                                                                                                           | [batteries/tools/web\_retrieval/index.ts:195](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/web_retrieval/index.ts#L195) |
|  `idPrefix?`           | `string`                                                                          | Prefix for the stable, hashed record id (namespacing across sources).                                                                                              | [`ToRetrievableOptions`](ToRetrievableOptions.md).[`idPrefix`](ToRetrievableOptions.md#property-idprefix)   | [batteries/tools/web\_retrieval/index.ts:62](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/web_retrieval/index.ts#L62)   |
|  `kind?`                   | `string`                                                                          | Semantic `kind` label, e.g. `'web-search-result'`, `'web-article'`, `'web-links'`.                                                                                 | [`ToRetrievableOptions`](ToRetrievableOptions.md).[`kind`](ToRetrievableOptions.md#property-kind)           | [batteries/tools/web\_retrieval/index.ts:60](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/web_retrieval/index.ts#L60)   |
|  `spool?`                 | [`SpoolHook`](../type-aliases/SpoolHook.md)                                       | Optional reader-backed-artifact hook for large content. See [SpoolHook](../type-aliases/SpoolHook.md).                                                             | [`ToRetrievableOptions`](ToRetrievableOptions.md).[`spool`](ToRetrievableOptions.md#property-spool)         | [batteries/tools/web\_retrieval/index.ts:64](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/web_retrieval/index.ts#L64)   |
|  `trustTier?`         | [`RetrievableTrustTier`](../../../../common/type-aliases/RetrievableTrustTier.md) | Trust tier for the produced records. Default `'third-party-public'` (web content is third-party by definition — this is a constant, not URL inference).            | [`ToRetrievableOptions`](ToRetrievableOptions.md).[`trustTier`](ToRetrievableOptions.md#property-trusttier) | [batteries/tools/web\_retrieval/index.ts:58](https://github.com/NHTIO/ADK/blob/v1.20260609.1/src/batteries/tools/web_retrieval/index.ts#L58)   |
