Change a companion's hit points
set_companion_stateSet a companion's hit points and the uses spent on its cards. Returns: The companion's state.
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": "<campaign>",
"character": "<character>",
"companion": "<companion>"
},
"name": "set_companion_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hp | No | ||
| boxUses | No | Uses spent, by card id. | |
| campaign | Yes | The campaign, by its slug (what its link says) or its id. | |
| character | Yes | The character, by its slug. | |
| companion | Yes | The companion's id. |