hedera_create_file
Create a new unsigned file on Hedera to store compiled contract bytecode before deployment.
Instructions
Build (unsigned) a new file. Useful for storing compiled contract bytecode before deployment.
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": {
"contents": "<contents>"
},
"name": "hedera_create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Public key controlling the file (enables append/update/delete) | |
| memo | No | ||
| contents | Yes | File contents (UTF-8 text or hex bytecode) | |
| payerAccountId | No |