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.
ApplyPatchCreateFileOperation type definition
create_file
apply_patch_call.operation
import { ApplyPatchCreateFileOperation } from "@openrouter/sdk/models"; let value: ApplyPatchCreateFileOperation = { diff: "@@ function main() {\n+ console.log(\"hi\");\n }", path: "/src/main.ts", type: "create_file", };
diff
path
type