ApplyPatchServerToolOpenRouter - Go SDK

ApplyPatchServerToolOpenRouter type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

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

Fields

FieldTypeRequiredDescriptionExample
Parameters*components.ApplyPatchServerToolConfigConfiguration for the openrouter:apply_patch server tool{"engine": "auto"}
Typecomponents.ApplyPatchServerToolOpenRouterType✔️N/A