manage_file
Read or write local files within a configurable base directory. Specify the file path and action to perform.
Instructions
Demonstrates reading and writing local files. Operates within a configurable base directory.
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": {
"action": "<action>",
"filePath": "<filePath>"
},
"name": "manage_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Whether to read or write | |
| content | No | Content to write (required for write action) | |
| filePath | Yes | Relative file path within the working directory |