6 custom skills (assign-task, dispatch-webhook, daily-briefing, task-capture, qmd-brain, tts-voice) with technical documentation. Compatible with Claude Code, OpenClaw, Codex CLI, and OpenCode.
29 lines
1.4 KiB
JSON
Executable File
29 lines
1.4 KiB
JSON
Executable File
{
|
|
"title": "apply\\_patch tool",
|
|
"content": "Apply file changes using a structured patch format. This is ideal for multi-file\nor multi-hunk edits where a single `edit` call would be brittle.\n\nThe tool accepts a single `input` string that wraps one or more file operations:\n\n* `input` (required): Full patch contents including `*** Begin Patch` and `*** End Patch`.\n\n* Paths are resolved relative to the workspace root.\n* Use `*** Move to:` within an `*** Update File:` hunk to rename files.\n* `*** End of File` marks an EOF-only insert when needed.\n* Experimental and disabled by default. Enable with `tools.exec.applyPatch.enabled`.\n* OpenAI-only (including OpenAI Codex). Optionally gate by model via\n `tools.exec.applyPatch.allowModels`.\n* Config is only under `tools.exec`.",
|
|
"code_samples": [
|
|
{
|
|
"code": "*** Begin Patch\n*** Add File: path/to/file.txt\n+line 1\n+line 2\n*** Update File: src/app.ts\n@@\n-old line\n+new line\n*** Delete File: obsolete.txt\n*** End Patch",
|
|
"language": "unknown"
|
|
}
|
|
],
|
|
"headings": [
|
|
{
|
|
"level": "h2",
|
|
"text": "Parameters",
|
|
"id": "parameters"
|
|
},
|
|
{
|
|
"level": "h2",
|
|
"text": "Notes",
|
|
"id": "notes"
|
|
},
|
|
{
|
|
"level": "h2",
|
|
"text": "Example",
|
|
"id": "example"
|
|
}
|
|
],
|
|
"url": "llms-txt#apply\\_patch-tool",
|
|
"links": []
|
|
} |