mod_file_read
Read a UTF-8 mod file and get its SHA-256 hash to enable optimistic write operations.
Instructions
Read one UTF-8 mod file and return its SHA-256 for optimistic writes.
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": {
"mod_name": "<mod_name>",
"path": "<path>"
},
"name": "mod_file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| mod_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | No | ||
| message | Yes |