> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Context.dev: Contextdev Reprocess Webdb Collection

> Re-extract chosen rows of a Context.dev WebDB collection from their saved pages. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Re-extract chosen rows of a Context.dev WebDB collection from their saved pages.

> [!NOTE]
>
> Tool ID: `contextdev_reprocess_webdb_collection`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'contextdev_reprocess_webdb_collection',
  {
    "collection_id": "collection_123"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute contextdev_reprocess_webdb_collection --input '{
  "collection_id": "collection_123"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "collection_id": "collection_123",
    "run_id": "run_123",
    "queued": true
  }
}
```

Use `deepline describe contextdev_reprocess_webdb_collection --json` for the latest machine-readable contract.

## Input reference

Selects rows to extract again from saved pages.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.collection_id` | `string` | Yes | — | Collection ID. |
| `payload.where` | `record` | No | — | Rows to reprocess. Omit to reprocess every row. |
| `payload.tags` | `array` | No | — | Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters. Maximum items: 20. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Selects rows to extract again from saved pages.",
    "properties": {
      "collection_id": {
        "type": "string",
        "description": "Collection ID."
      },
      "where": {
        "type": "object",
        "description": "Rows to reprocess. Omit to reprocess every row.",
        "additionalProperties": {}
      },
      "tags": {
        "type": "array",
        "description": "Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.",
        "maxItems": 20,
        "items": {
          "type": "string",
          "minLength": 1,
          "maxLength": 50
        }
      }
    },
    "required": [
      "collection_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | — |
| `result.data.collection_id` | `string` | Yes | — | — |
| `result.data.run_id` | `string` | Yes | — | — |
| `result.data.queued` | `boolean` | Yes | — | — |
| `result.data.key_metadata` | `object` | No | — | — |
| `result.meta` | `object` | No | — | — |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "data": {
        "type": "object",
        "properties": {
          "collection_id": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "queued": {
            "type": "boolean"
          },
          "key_metadata": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": false
          }
        },
        "required": [
          "collection_id",
          "run_id",
          "queued"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Context.dev provider guide](https://deepline.com/docs/providers/contextdev/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.