get_state
Read a branch's current state and revision, with player view hiding GM facts or GM view including the authoritative ledger.
Instructions
Read branch state and revision. player view hides GM facts; gm view includes the authoritative ledger.
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": {
"campaign_id": "<campaign_id>",
"branch_id": "<branch_id>"
},
"name": "get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewer | No | player | |
| branch_id | Yes | ||
| campaign_id | Yes |