Escrever arquivo texto
fs.write_textWrite text files with optional SHA-256 hash validation to verify the current content before overwriting, preventing accidental edits.
Instructions
Escreve um arquivo de texto com validação opcional de hash para edição assertiva.
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": "fs.write_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| filePath | Yes | ||
| createDirs | No | ||
| expectedSha256 | No |