Claude Kali MCP Commander

write_file

Replace or create files by specifying absolute paths and content. Ideal for significant file modifications or when other methods fail. Use caution to avoid overwriting unintended files. Works within permitted directories on the Claude Kali MCP Commander.

Instructions

Completely replace file contents. Best for large changes (>20% of file) or when edit_block fails. Use with caution as it will overwrite existing files. Only works within allowed directories. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.

Input Schema

NameRequiredDescriptionDefault
contentYes
pathYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "content": { "type": "string" }, "path": { "type": "string" } }, "required": [ "path", "content" ], "type": "object" }

You must be authenticated.

Other Tools from Claude Kali MCP Commander

Related Tools

ID: gf1wuhlxzi