ApplyPatchServerToolOpenRouter - TypeScript SDK
ApplyPatchServerToolOpenRouter type definition
OpenRouter built-in server tool: validates V4A diff patches for file operations (create, update, delete). Restricted to the Responses API.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ApplyPatchServerToolOpenRouter type definition
import { ApplyPatchServerToolOpenRouter } from "@openrouter/sdk/models";
let value: ApplyPatchServerToolOpenRouter = {
type: "openrouter:apply_patch",
};
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
parameters | models.ApplyPatchServerToolConfig | :heavy_minus_sign: | Configuration for the openrouter:apply_patch server tool | {"engine": "auto"} |
type | ”openrouter:apply_patch” | :heavy_check_mark: | N/A |