Edit home text
exza_edit_home_textReplace one unique span of a managed-home text file, guarded by the original SHA-256. Unlike exza_write_home_text, this changes only matching text. Requires account-bound computer:write OAuth and any prompted local owner approval.
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": {
"area": "<area>",
"path": "<path>",
"oldText": "<oldText>",
"newText": "<newText>",
"expectedSha256": "<expectedSha256>"
},
"name": "exza_edit_home_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | Managed home area, one of the allowed values; no arbitrary filesystem roots. | |
| path | Yes | Explicit path inside the scope for this tool; no symlink traversal where prohibited. | |
| newText | Yes | Replacement text for the exact matching span. | |
| oldText | Yes | Text span that must occur uniquely before a guarded edit. | |
| expectedSha256 | Yes | Lowercase SHA-256 from the prior read; prevents overwriting changed content. |