roll_check
Records a server-resolved d20 check with fixed purpose, difficulty, and stakes, preventing rerolls and returning the full check set plus context hash for persistent adventures.
Instructions
Persist a server d20 result with fixed purpose, difficulty and stakes. No rerolling a purpose. Returns the complete check set and context hash.
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>",
"preparation_id": "<preparation_id>",
"check_id": "<check_id>",
"purpose": "<purpose>",
"attribute": "<attribute>",
"difficulty": "<difficulty>",
"stakes": "<stakes>"
},
"name": "roll_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | No | ||
| stakes | Yes | ||
| purpose | Yes | ||
| check_id | Yes | ||
| attribute | Yes | ||
| branch_id | Yes | ||
| difficulty | Yes | ||
| campaign_id | Yes | ||
| situational | No | ||
| preparation_id | Yes |