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

# FileSearchServerToolValue1 - Go SDK

> FileSearchServerToolValue1 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

###

```go lines theme={null}
fileSearchServerToolValue1 := components.CreateFileSearchServerToolValue1Str(string{/* values here */})
```

###

```go lines theme={null}
fileSearchServerToolValue1 := components.CreateFileSearchServerToolValue1Number(float64{/* values here */})
```

## Union Discrimination

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

```go lines theme={null}
switch fileSearchServerToolValue1.Type {
	case components.FileSearchServerToolValue1TypeStr:
		// fileSearchServerToolValue1.Str is populated
	case components.FileSearchServerToolValue1TypeNumber:
		// fileSearchServerToolValue1.Number is populated
}
```
