tealfabric_write_document_text
Write UTF-8 text to a Tealfabric document path and automatically create a backup before saving. Use it to update document content safely through Cursor.
Instructions
Write UTF-8 text to a Tealfabric documents path (action=write-text; creates a backup).
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>"
},
"name": "tealfabric_write_document_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | UTF-8 text content | |
| encoding | No | Must be utf8 / utf-8 when provided | |
| file_path | Yes | Full path to the file to write | |
| tenant_id | No | Ignored by the API; auth tenant wins. Kept for backward compatibility. |