pz_check
Verify Project Zomboid Build 42 class, method, field, event, item, recipe, and Lua names against the local install; get real signatures or a clear NO before using them.
Instructions
Is a Project Zomboid name real? Answers YES or NO, with the real signature. query = a command and its names: "method IsoPlayer getStats", "field IsoPlayer x", "class ItemContainer" (also says if Lua can see it), "members IsoPlayer Stat", "find getModData", "event OnZombieDead", "global getPlayer", "lua ISTimedActionQueue.add", "grep sendClientCommand(", "script item Hammer". If it says NO, do not use that name.
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": {
"query": "<query>"
},
"name": "pz_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |