Playloop
v0.1.1Make group quiz games: create and edit quizzes, invite friends to add questions, reuse rounds.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_authoring_context Get quiz authoring capabilities
Use first when making a quiz or game. Get supported formats, defaults, account hosting limits and access, and what people do only in Playloop. create_quiz creates a lobby; promise invitation links only when the result contains them.
list_quizzes Find my games
Use when the user wants to find, edit, reuse or replay a game they hosted earlier. Returns their own games newest first, with player counts and replayEditionId when a finished game can be played again exactly; get_quiz retrieves the full content.
| Parameter | Type | Description |
|---|---|---|
query | string |
get_quiz Read a game's prepared rounds
Use before editing or reusing an owned game, or to check who has joined its lobby and is ready. Returns the prepared-content revision, rounds, question count, validation issues, links, and each joined player with readiness and how many questions they submitted. Replay definitions read the frozen edition: prepared rounds include questions; private contribution rounds expose only positions and counts with contentHidden true. Never returns other players' contribution content or gameplay.
| Parameter | Type | Description |
|---|---|---|
runId * | string | The game ID (runId) returned by create_quiz, list_quizzes or get_quiz. |
create_quiz Create a quiz and invite friends
Use for requests to make a quiz or game for friends, or to reuse an earlier quiz as a new game. Supply complete rounds, questions and answers. Creates a real editable lobby and returns host and invitation links. Free access and no contributions are defaults. Use paid single-edition access only with user authorization. Retry identical input with the same requestId, including after timeouts; never create a replacement quiz. Never starts gameplay. Summarize without revealing answers; follow-up edits target the returned runId.
update_quiz Edit a game's prepared rounds
Use for follow-up edits after get_quiz. Updates the game at expectedRevision while it is still an editable lobby. Keep stable question/round IDs. Accepts title, blocks and partial settings; omitted fields are preserved. Set contributions to optional with questionsPerContributor for a requested per-person maximum, or disabled to close submissions while retaining existing content. Reuse requestId for identical retries.
replay_game Set up a rematch
Use when the user wants to play a finished game again with exactly the same questions. Pass replayEditionId from list_quizzes. Creates a new lobby with a fresh invitation; a rematch cannot be edited (use create_quiz with the old rounds for an edited version). Never starts play. Reuse requestId for identical retries.
| Parameter | Type | Description |
|---|---|---|
editionId * | string | replayEditionId from list_quizzes. |
requestId * | string | Stable UUID for this intent. Reuse it with identical arguments after a lost response; use a new UUID for a different action. |
nickname | string | Host player name. Use Host when no name was supplied. |
refresh_invitation Renew a lobby invitation
Use when the user wants a fresh invitation for an existing editable lobby. Previous invitation links stop admitting new players. Returns the replacement link and expiry. Does not start play. Reuse requestId for identical retries.
| Parameter | Type | Description |
|---|---|---|
requestId * | string | Stable UUID for this intent. Reuse it with identical arguments after a lost response; use a new UUID for a different action. |
runId * | string | The game ID (runId) returned by create_quiz, list_quizzes or get_quiz. |
cancel_lobby Cancel a lobby
Use only when the user explicitly asks to cancel a lobby that has not started. Its invitation stops working and nobody can play it. A game in progress is stopped in Playloop instead. Reuse requestId for identical retries.
| Parameter | Type | Description |
|---|---|---|
requestId * | string | Stable UUID for this intent. Reuse it with identical arguments after a lost response; use a new UUID for a different action. |
runId * | string | The game ID (runId) returned by create_quiz, list_quizzes or get_quiz. |