call_native_by_hash
Execute verified game native functions by raw hash, restricted to a allowlist for safety.
Instructions
Call a native by raw hash (power-user escape hatch). ALLOWLIST-GATED: refuses any hash not in the verified DB. Prefer call_native(name) instead.
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": {
"hash": "<hash>"
},
"name": "call_native_by_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| args | No | ||
| return_type | No | int |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |