lua_execute
Execute arbitrary Lua code in Cheat Engine to perform custom operations not covered by dedicated tools, capturing print output and return values.
Instructions
Escape hatch: run arbitrary Lua inside Cheat Engine and capture print output + return value. Use when no dedicated tool covers what you need.
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": {
"code": "<code>"
},
"name": "lua_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |