manage_file
Create, edit, and inspect files on remote hosts with line-based operations for file management tasks.
Instructions
Create, edit, and inspect files on the remote host including line-based operations.
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": {
"path": "<path>",
"operation": "<operation>"
},
"name": "manage_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| operation | Yes | ||
| content | No | ||
| pattern | No | ||
| line | No | ||
| start_line | No | ||
| end_line | No | ||
| encoding | No | utf-8 | |
| create_parents | No | ||
| overwrite | No | ||
| create_if_missing | No | ||
| escape_profile | No | auto | |
| follow_symlinks | No | ||
| use_regex | No | ||
| ignore_case | No | ||
| max_replacements | No | ||
| anchor | No | ||
| anchor_use_regex | No | ||
| anchor_ignore_case | No | ||
| anchor_after | No | ||
| anchor_occurrence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||