hedera_update_file
Build an unsigned transaction to replace a Hedera file's contents and memo. Submit the transaction for execution.
Instructions
Build (unsigned) an update that replaces a file's contents and/or memo.
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": {
"fileId": "<fileId>"
},
"name": "hedera_update_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| fileId | Yes | ||
| contents | No | ||
| payerAccountId | No |