read_database_object
Deserialize a compressed GFF blob stored in a campaign database and return it as parsed GFF JSON, so you can inspect creatures, items, and other saved objects by database filename and variable name.
Instructions
Deserialize a compressed GFF blob (creature, item, etc.) from a campaign database. Returns the object as parsed GFF JSON.
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": {
"database": "<database>",
"varname": "<varname>"
},
"name": "read_database_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| varname | Yes | Variable name in the db table (e.g. 'HENCH_TAGID_001') | |
| database | Yes | Database filename (e.g. 'mymodule' or 'mymodule.sqlite3') | |
| playerid | No | Player ID filter (default: empty string) |