set_playthrough
Create or edit a game playthrough on one copy, adding new runs or updating type, difficulty, notes, and playtime totals or session-based offsets.
Instructions
Create or edit a playthrough on one copy. create=true adds a new one; otherwise playthrough (id or name) picks the one to edit, and an unsaved default playthrough is saved first. type: firstPlaythrough, replay, speedrun, coop, competitive, continuous, streaming, achievements, challengeRun. playtime_type: session (sum of sessions) or playthrough (set hours/minutes directly). hours/minutes set the manual duration. extra_hours/extra_minutes set playtime_offset: minutes added on top of the session total.
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": {
"slug": "<slug>"
},
"name": "set_playthrough"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| slug | Yes | ||
| type | No | ||
| hours | No | ||
| notes | No | ||
| create | No | ||
| minutes | No | ||
| difficulty | No | ||
| extra_hours | No | ||
| playthrough | No | ||
| collection_id | No | ||
| extra_minutes | No | ||
| playtime_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |