Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
OutputApplyPatchCallItem type definition
apply_patch_call
apply_patch
import { OutputApplyPatchCallItem } from "@openrouter/sdk/models"; let value: OutputApplyPatchCallItem = { callId: "<id>", id: "msg-abc123", operation: { diff: "@@ function main() {\n+ console.log(\"hi\");\n }", path: "/src/main.ts", type: "update_file", }, status: "completed", type: "apply_patch_call", };
callId
id
operation
create_file
update_file
delete_file
{"diff": "@@ function main() {\n+ console.log(\"hi\");\n }
status
type