write_file
Create or update text files by writing content to specified file paths for file management in development workflows.
Instructions
Writes content to a text file at the specified path
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": {
"filepath": "<filepath>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | The path to the file to write (can be absolute or relative to project root). | |
| content | Yes | The content to write to the file. |