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

# AnthropicDocumentBlockParamContent1 - Go SDK

> AnthropicDocumentBlockParamContent1 type definition

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

## Supported Types

### AnthropicImageBlockParam

```go lines theme={null}
anthropicDocumentBlockParamContent1 := components.CreateAnthropicDocumentBlockParamContent1Image(components.AnthropicImageBlockParam{/* values here */})
```

### AnthropicTextBlockParam

```go lines theme={null}
anthropicDocumentBlockParamContent1 := components.CreateAnthropicDocumentBlockParamContent1Text(components.AnthropicTextBlockParam{/* values here */})
```

## Union Discrimination

Use the `Type` field to determine which variant is active, then access the corresponding field:

```go lines theme={null}
switch anthropicDocumentBlockParamContent1.Type {
	case components.AnthropicDocumentBlockParamContent1TypeImage:
		// anthropicDocumentBlockParamContent1.AnthropicImageBlockParam is populated
	case components.AnthropicDocumentBlockParamContent1TypeText:
		// anthropicDocumentBlockParamContent1.AnthropicTextBlockParam is populated
}
```
