> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# WebFetchPlugin - Go SDK

> WebFetchPlugin type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

## Fields

| Field              | Type                                                                                 | Required             | Description                                                                              |
| ------------------ | ------------------------------------------------------------------------------------ | -------------------- | ---------------------------------------------------------------------------------------- |
| `AllowedDomains`   | \[]`string`                                                                          | :heavy\_minus\_sign: | Only fetch from these domains.                                                           |
| `BlockedDomains`   | \[]`string`                                                                          | :heavy\_minus\_sign: | Never fetch from these domains.                                                          |
| `ID`               | [components.WebFetchPluginID](/client-sdks/go/api-reference/models/webfetchpluginid) | :heavy\_check\_mark: | N/A                                                                                      |
| `MaxContentTokens` | `*int64`                                                                             | :heavy\_minus\_sign: | Maximum content length in approximate tokens. Content exceeding this limit is truncated. |
| `MaxUses`          | `*int64`                                                                             | :heavy\_minus\_sign: | Maximum number of web fetches per request. Once exceeded, the tool returns an error.     |
