Manage File
sm_file_manage_fileRead, create, update, or delete files and logs on managed systems, with optional confirmation for destructive actions.
Instructions
Manage file (sm_file_operations). Operations for file and log management
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sm_file_manage_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Explicit confirmation for a mutating action. Pass true when the client cannot answer an approval prompt. | |
| content | No | Content to create or update the file with | |
| filepath | No | Path to file | |
| file_action | No | Action for text editor/manage file | read |