Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ApplyPatchUpdateFileOperation type definition
update_file
apply_patch_call.operation
import { ApplyPatchUpdateFileOperation } from "@openrouter/sdk/models"; let value: ApplyPatchUpdateFileOperation = { diff: "@@ function main() {\n+ console.log(\"hi\");\n }", path: "/src/main.ts", type: "update_file", };
diff
path
type