write
Write content to a file, overwriting existing data and creating parent directories as needed.
Instructions
Write content to a file (overwrites). Parent directories are created.
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": {
"file_path": "<file_path>",
"content": "<content>",
"project_path": "<project_path>"
},
"name": "write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| file_path | Yes | ||
| project_path | Yes |