Delete a session
play_delete_sessionPermanently delete a session by id, including its notes and any session-image / battlemap attachments. Caller must be the session's owner, an admin with Admin Mode on, or the campaign's GM (its owner or an accepted gamemaster); players get 403. Destructive. Confirm with the user first.
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": {
"id": "<id>"
},
"name": "play_delete_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Mongo `_id` of the session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| deleted | No |