Playloop
Make group quiz games: create and edit quizzes, invite friends to add questions, reuse rounds.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"playloop": {
"url": "https://mcp.tryplayloop.com/mcp"
}
}
}원격 엔드포인트
https://mcp.tryplayloop.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (8)
🟢get_authoring_context
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.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"additionalProperties": true
}🟢list_quizzes(query)
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.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 120
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"additionalProperties": true
}🟢get_quiz(runId)
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.
입력 스키마
{
"type": "object",
"properties": {
"runId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The game ID (runId) returned by create_quiz, list_quizzes or get_quiz."
}
},
"required": [
"runId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"additionalProperties": true
}🔴create_quiz(title, nickname, settings, access, requestId, ...)
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.
입력 스키마
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"nickname": {
"default": "Host",
"description": "Host player name. Use Host when no name was supplied.",
"type": "string",
"minLength": 1,
"maxLength": 40
},
"settings": {
"default": {
"scoreReveal": "each_block",
"blockIntroductions": false,
"separateAnswerReveal": false,
"speedBonus": false,
"comboBonus": false,
"doubleLastQuestion": false,
"questionSeconds": 30,
"rulesScreen": true,
"getReady": true,
"authorGuessing": false,
"authorGuessPoints": 500,
"authorGuessSeconds": 30,
"contributions": "disabled",
"questionsPerContributor": 2
},
"type": "object",
"properties": {
"scoreReveal": {
"default": "each_block",
"type": "string",
"enum": [
"each_block",
"end"
]
},
"blockIntroductions": {
"default": false,
"type": "boolean"
},
"separateAnswerReveal": {
"default": false,
"type": "boolean"
},
"speedBonus": {
"default": false,
"type": "boolean"
},
"comboBonus": {
"default": false,
"type": "boolean"
},
"doubleLastQuestion": {
"default": false,
"type": "boolean"
},
"questionSeconds": {
"default": 30,
"type": "integer",
"minimum": 5,
"maximum": 300
},
"rulesScreen": {
"default": true,
"type": "boolean"
},
"getReady": {
"default": true,
"type": "boolean"
},
"authorGuessing": {
"default": false,
"type": "boolean"
},
"authorGuessPoints": {
"default": 500,
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"authorGuessSeconds": {
"default": 30,
"type": "integer",
"minimum": 5,
"maximum": 300
},
"contributions": {
"default": "disabled",
"type": "string",
"enum": [
"required",
"optional",
"disabled"
]
},
"questionsPerContributor": {
"default": 2,
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"additionalProperties": false
},
"access": {
"default": {
"kind": "demo"
},
"description": "Free access by default. Select an owned paid grant only with the user’s authorization; single-edition access is bound to the new game.",
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "demo"
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grant"
},
"grantId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"kind",
"grantId"
],
"additionalProperties": false
}
]
},
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Stable UUID for this intent. Reuse it with identical arguments after a lost response; use a new UUID for a different action."
},
"blocks": {
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"title": {
"type": "string",
"maxLength": 120
},
"questions": {
"maxItems": 500,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "single_choice"
},
"choices": {
"minItems": 2,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"text": {
"type": "string",
"maxLength": 300
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
}
},
"required": [
"id",
"text"
],
"additionalProperties": false
}
},
"solution": {
"type": "object",
"properties": {
"correctChoiceId": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
}
},
"required": [
"correctChoiceId"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"choices",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "multi_select"
},
"choices": {
"minItems": 2,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"text": {
"type": "string",
"maxLength": 300
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
}
},
"required": [
"id",
"text"
],
"additionalProperties": false
}
},
"solution": {
"type": "object",
"properties": {
"correctChoiceIds": {
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
}
}
},
"required": [
"correctChoiceIds"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"choices",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "text"
},
"maxLength": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"solution": {
"type": "object",
"properties": {
"acceptedAnswers": {
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"maxLength": 1000
}
},
"caseSensitive": {
"default": false,
"type": "boolean"
},
"evaluation": {
"default": "review_unmatched",
"type": "string",
"enum": [
"automatic",
"review_unmatched"
]
}
},
"required": [
"acceptedAnswers"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"maxLength",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "numeric"
},
"min": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000
},
"max": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000
},
"step": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000000
},
"solution": {
"type": "object",
"properties": {
"expected": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000
},
"tolerance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000
}
},
"required": [
"expected",
"tolerance"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"min",
"max",
"step",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "ordering"
},
"items": {
"minItems": 2,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"text": {
"type": "string",
"maxLength": 300
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
}
},
"required": [
"id",
"text"
],
"additionalProperties": false
}
},
"solution": {
"type": "object",
"properties": {
"correctItemIds": {
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
}
}
},
"required": [
"correctItemIds"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"items",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "number",
"const": 0
},
"type": {
"type": "string",
"const": "poll"
},
"choices": {
"minItems": 2,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"text": {
"type": "string",
"maxLength": 300
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
}
},
"required": [
"id",
"text"
],
"additionalProperties": false
}
},
"solution": {
"type": "null"
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"choices",
"solution"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"id",
"title",
"questions"
],
"additionalProperties": false
}
}
},
"required": [
"title",
"requestId",
"blocks"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"additionalProperties": true
}🔴update_quiz(requestId, runId, expectedRevision, content)
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.
입력 스키마
{
"type": "object",
"properties": {
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Stable UUID for this intent. Reuse it with identical arguments after a lost response; use a new UUID for a different action."
},
"runId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The game ID (runId) returned by create_quiz, list_quizzes or get_quiz."
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Use the prepared-content revision returned by get_quiz."
},
"content": {
"type": "object",
"properties": {
"blocks": {
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"title": {
"type": "string",
"maxLength": 120
},
"questions": {
"maxItems": 500,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "single_choice"
},
"choices": {
"minItems": 2,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"text": {
"type": "string",
"maxLength": 300
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
}
},
"required": [
"id",
"text"
],
"additionalProperties": false
}
},
"solution": {
"type": "object",
"properties": {
"correctChoiceId": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
}
},
"required": [
"correctChoiceId"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"choices",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "multi_select"
},
"choices": {
"minItems": 2,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"text": {
"type": "string",
"maxLength": 300
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
}
},
"required": [
"id",
"text"
],
"additionalProperties": false
}
},
"solution": {
"type": "object",
"properties": {
"correctChoiceIds": {
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
}
}
},
"required": [
"correctChoiceIds"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"choices",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "text"
},
"maxLength": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"solution": {
"type": "object",
"properties": {
"acceptedAnswers": {
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"maxLength": 1000
}
},
"caseSensitive": {
"default": false,
"type": "boolean"
},
"evaluation": {
"default": "review_unmatched",
"type": "string",
"enum": [
"automatic",
"review_unmatched"
]
}
},
"required": [
"acceptedAnswers"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"maxLength",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "numeric"
},
"min": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000
},
"max": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000
},
"step": {
"type": "number",
"minimum": 0.000001,
"maximum": 1000000000
},
"solution": {
"type": "object",
"properties": {
"expected": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000
},
"tolerance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000
}
},
"required": [
"expected",
"tolerance"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"min",
"max",
"step",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"type": {
"type": "string",
"const": "ordering"
},
"items": {
"minItems": 2,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"text": {
"type": "string",
"maxLength": 300
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
}
},
"required": [
"id",
"text"
],
"additionalProperties": false
}
},
"solution": {
"type": "object",
"properties": {
"correctItemIds": {
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
}
}
},
"required": [
"correctItemIds"
],
"additionalProperties": false
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"items",
"solution"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"prompt": {
"type": "string",
"maxLength": 1000
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
},
"timeLimitSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"points": {
"type": "number",
"const": 0
},
"type": {
"type": "string",
"const": "poll"
},
"choices": {
"minItems": 2,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"text": {
"type": "string",
"maxLength": 300
},
"image": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"alt": {
"type": "string",
"maxLength": 300
}
},
"required": [
"assetId",
"alt"
],
"additionalProperties": false
}
},
"required": [
"id",
"text"
],
"additionalProperties": false
}
},
"solution": {
"type": "null"
}
},
"required": [
"id",
"schemaVersion",
"prompt",
"timeLimitSeconds",
"points",
"type",
"choices",
"solution"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"id",
"title",
"questions"
],
"additionalProperties": false
}
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"settings": {
"type": "object",
"properties": {
"scoreReveal": {
"type": "string",
"enum": [
"each_block",
"end"
]
},
"blockIntroductions": {
"type": "boolean"
},
"separateAnswerReveal": {
"type": "boolean"
},
"speedBonus": {
"type": "boolean"
},
"comboBonus": {
"type": "boolean"
},
"doubleLastQuestion": {
"type": "boolean"
},
"questionSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"rulesScreen": {
"type": "boolean"
},
"getReady": {
"type": "boolean"
},
"authorGuessing": {
"type": "boolean"
},
"authorGuessPoints": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"authorGuessSeconds": {
"type": "integer",
"minimum": 5,
"maximum": 300
},
"contributions": {
"type": "string",
"enum": [
"required",
"optional",
"disabled"
]
},
"questionsPerContributor": {
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
"requestId",
"runId",
"expectedRevision",
"content"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"additionalProperties": true
}🟡replay_game(requestId, editionId, nickname)
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.
입력 스키마
{
"type": "object",
"properties": {
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Stable UUID for this intent. Reuse it with identical arguments after a lost response; use a new UUID for a different action."
},
"editionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "replayEditionId from list_quizzes."
},
"nickname": {
"default": "Host",
"description": "Host player name. Use Host when no name was supplied.",
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"required": [
"requestId",
"editionId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"additionalProperties": true
}🔴refresh_invitation(requestId, runId)
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.
입력 스키마
{
"type": "object",
"properties": {
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Stable UUID for this intent. Reuse it with identical arguments after a lost response; use a new UUID for a different action."
},
"runId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The game ID (runId) returned by create_quiz, list_quizzes or get_quiz."
}
},
"required": [
"requestId",
"runId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"additionalProperties": true
}🔴cancel_lobby(requestId, runId)
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.
입력 스키마
{
"type": "object",
"properties": {
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Stable UUID for this intent. Reuse it with identical arguments after a lost response; use a new UUID for a different action."
},
"runId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The game ID (runId) returned by create_quiz, list_quizzes or get_quiz."
}
},
"required": [
"requestId",
"runId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"additionalProperties": true
}커뮤니티
증거