sed_multifile
Apply sed patterns to multiple files matching a glob pattern to make targeted text replacements across your codebase or documents.
Instructions
Apply sed pattern to multiple files matching a glob pattern
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern": "<pattern>",
"filePattern": "<filePattern>"
},
"name": "sed_multifile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Sed pattern to apply | |
| filePattern | Yes | File glob pattern (e.g., "*.ts", "src/**/*.js") | |
| directory | No | Starting directory for search | . |
| backup | No | Create backup files |