file_operations
Perform file operations in your workspace: read, write, list, and get information about files and directories to manage project content.
Instructions
Read, write, and list files in the current workspace
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": {
"operation": "<operation>",
"path": "<path>"
},
"name": "file_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | The file operation to perform | |
| path | Yes | File or directory path (relative to workspace) | |
| content | No | Content to write (required for write operation) |