create_text_file
Quickly create or overwrite text files on the Serena MCP server by specifying a relative path and content. Returns success or failure status for file operations.
Instructions
Write a new file or overwrite an existing file. Returns a message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | The (utf-8-encoded) content to write to the file. | |
relative_path | Yes | The relative path to the file to create. |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "The (utf-8-encoded) content to write to the file.",
"title": "Content",
"type": "string"
},
"relative_path": {
"description": "The relative path to the file to create.",
"title": "Relative Path",
"type": "string"
}
},
"required": [
"relative_path",
"content"
],
"title": "applyArguments",
"type": "object"
}