> ## 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.

# DeepSeek: Fetch

> Fetch a web page and return its title and content as Markdown. See the Search & Fetch guide for error handling and billing.

Fetch a web page and return its title and content as Markdown.

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

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'deepseek_fetch',
  {
    "url": "https://example.com"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute deepseek_fetch --input '{
  "url": "https://example.com"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "title": "VP of Engineering",
    "content": "Example message"
  }
}
```

Use `deepline tools get deepseek_fetch --json` for the latest machine-readable contract.

## Input reference

Fetch a web page and return its title and content as Markdown. See the [Search & Fetch guide](/docs/guides/search) for error handling and billing.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.url` | `string` | Yes | — | The URL to fetch. Must be at most 8192 characters and an HTTP or HTTPS URL with a host. The URL must not contain a username or password. Minimum length: 1. Maximum length: 8192. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Fetch a web page and return its title and content as Markdown. See the [Search & Fetch guide](/guides/search) for error handling and billing.",
    "properties": {
      "url": {
        "type": "string",
        "description": "The URL to fetch. Must be at most 8192 characters and an HTTP or HTTPS URL with a host. The URL must not contain a username or password.",
        "minLength": 1,
        "maxLength": 8192
      }
    },
    "required": [
      "url"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.title` | `string` | Yes | — | The title of the page. Empty when the title is unavailable. |
| `result.data.content` | `string` | Yes | — | The fetched page content as Markdown text. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of the page. Empty when the title is unavailable."
          },
          "content": {
            "type": "string",
            "description": "The fetched page content as Markdown text."
          }
        },
        "required": [
          "title",
          "content"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.02` per pricing unit.

## Related documentation

* [DeepSeek provider guide](/docs/providers/deepseek/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)


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