Write File
Create a new file or completely overwrite an existing file with new content. Use with caution as it will overwrite existing files without warning. Handles text content with proper encoding. Only works within allowed directories.
Purpose
This skill provides access to the MCP tool write_file. It allows you to create a new file or completely overwrite an existing file with new content. use with caution as it will overwrite existing files without warning. handles text content with proper encoding. only works within allowed directories..
Parameters
The tool accepts the following parameters:
path
Required
- Type:
string - Description: No description provided
content
Required
- Type:
string - Description: No description provided
Usage Instructions
To use this tool:
- Prepare the parameters according to the schema above
- Invoke the MCP tool
write_filewith the prepared parameters - Process the result returned by the tool
Example
{
"path": "example_value",
"content": "example_value"
}
Expected Output
The tool returns data with the following structure:
- content (
string): No description provided
Notes
- This skill requires an active MCP connection to the server providing the
write_filetool - Ensure the MCP server is properly configured and running before attempting to use this tool
- Review the parameter requirements carefully to avoid errors