webdav_edit_remote_file
Apply intelligent edits to files on remote WebDAV servers with git-style diff preview for precise text modifications and change verification before committing updates.
Instructions
Apply intelligent edits to a file on a remote WebDAV server with git-style diff preview
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dryRun | No | Preview changes using git-style diff format without applying them | |
edits | Yes | ||
path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"dryRun": {
"default": false,
"description": "Preview changes using git-style diff format without applying them",
"type": "boolean"
},
"edits": {
"items": {
"additionalProperties": false,
"properties": {
"newText": {
"description": "Text to replace with",
"type": "string"
},
"oldText": {
"description": "Text to search for - must match exactly",
"type": "string"
}
},
"required": [
"oldText",
"newText"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"path": {
"minLength": 1,
"type": "string"
}
},
"required": [
"path",
"edits"
],
"type": "object"
}