I can't use the edit_file tool. I have to avoid it and use write_file instead. Is there a difference in the number of tokens they use?
This is the typical error I get.
Error: Invalid arguments for edit_file: [
{
"code": "invalid_type",
"expected": "array",
"received": "string",
"path": [
"edits"
],
"message": "Expected array, received string"
}
]
Using codemcp in Claude Desktop.