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

# ApplyPatchServerToolOpenRouter - Go SDK

> ApplyPatchServerToolOpenRouter type definition

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

OpenRouter built-in server tool: validates V4A diff patches for file operations (create, update, delete). Restricted to the Responses API.

## Fields

| Field        | Type                                                                                                                     | Required             | Description                                               | Example              |
| ------------ | ------------------------------------------------------------------------------------------------------------------------ | -------------------- | --------------------------------------------------------- | -------------------- |
| `Parameters` | [\*components.ApplyPatchServerToolConfig](/client-sdks/go/api-reference/models/applypatchservertoolconfig)               | :heavy\_minus\_sign: | Configuration for the openrouter:apply\_patch server tool | `{"engine": "auto"}` |
| `Type`       | [components.ApplyPatchServerToolOpenRouterType](/client-sdks/go/api-reference/models/applypatchservertoolopenroutertype) | :heavy\_check\_mark: | N/A                                                       |                      |
