list_decks
readRead-onlyList your polls (called decks by this API), newest edited first, with total responses and the last response time. Totals can lag live voting briefly. Use the returned deck ID to refer to a poll. People call a deck a poll and its items questions. Say ‘poll’ and ‘question’ when you talk to people; use deck IDs and question IDs when you call tools.
Input
| Field | Type |
|---|---|
cursor | string1 to 512 characters |
limit | integer1 to 40 |
JSON Schema
{
"type": "object",
"properties": {
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 40
}
},
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
decksRequired | object[]0 to 40 items |
nextCursorRequired | string | null |
JSON Schema
{
"type": "object",
"properties": {
"decks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"code": {
"type": "string"
},
"createdAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updatedAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"settings": {
"type": "object",
"properties": {
"pacing": {
"type": "string",
"enum": [
"live",
"self"
]
},
"showResultsToVoters": {
"type": "string",
"enum": [
"never",
"afterVote",
"afterClose"
]
},
"allowChange": {
"type": "boolean"
},
"showBranding": {
"type": "boolean"
},
"shareResults": {
"type": "boolean"
}
},
"required": [
"pacing",
"showResultsToVoters",
"allowChange",
"showBranding",
"shareResults"
],
"additionalProperties": false
},
"totalResponses": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"lastResponseAt": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"title",
"code",
"createdAt",
"updatedAt",
"settings",
"totalResponses",
"lastResponseAt"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 40
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 512
},
{
"type": "null"
}
]
}
},
"required": [
"decks",
"nextCursor"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_decks",
"arguments": {
"limit": 10
}
}
}get_deck
readRead-onlyRead a poll’s settings and one page of its questions in presentation order. This does not read votes or live state. People call a deck a poll and its items questions. Say ‘poll’ and ‘question’ when you talk to people; use deck IDs and question IDs when you call tools.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
cursor | string1 to 512 characters |
limit | integer1 to 40 |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 40
}
},
"required": [
"deckId"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckRequired | object |
questionsRequired | object[]0 to 40 items |
nextCursorRequired | string | null |
JSON Schema
{
"type": "object",
"properties": {
"deck": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"code": {
"type": "string"
},
"createdAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updatedAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"settings": {
"type": "object",
"properties": {
"pacing": {
"type": "string",
"enum": [
"live",
"self"
]
},
"showResultsToVoters": {
"type": "string",
"enum": [
"never",
"afterVote",
"afterClose"
]
},
"allowChange": {
"type": "boolean"
},
"showBranding": {
"type": "boolean"
},
"shareResults": {
"type": "boolean"
}
},
"required": [
"pacing",
"showResultsToVoters",
"allowChange",
"showBranding",
"shareResults"
],
"additionalProperties": false
}
},
"required": [
"id",
"title",
"code",
"createdAt",
"updatedAt",
"settings"
],
"additionalProperties": false
},
"questions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"config": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"choice"
]
},
"options": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"minItems": 2,
"maxItems": 24,
"uniqueItems": true
},
"maxPicks": {
"type": "integer",
"minimum": 1,
"maximum": 24
}
},
"required": [
"type",
"options",
"maxPicks"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"scale"
]
},
"max": {
"type": "integer",
"minimum": 2,
"maximum": 10
},
"lowLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"highLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
}
},
"required": [
"type",
"max",
"lowLabel",
"highLabel"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
},
"required": [
"id",
"prompt",
"config"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 40
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 512
},
{
"type": "null"
}
]
}
},
"required": [
"deck",
"questions",
"nextCursor"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_deck",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038"
}
}
}create_deck
readwriteCreate one poll with all its questions in order, without starting a Live presentation. Unguessable results links are enabled by default, just like on the website, and the owner can turn them off. Do not ask for personal details. People call a deck a poll and its items questions. Say ‘poll’ and ‘question’ when you talk to people; use deck IDs and question IDs when you call tools.
Input
| Field | Type |
|---|---|
titleRequired | string1 to 120 characters |
questionsRequired | object[]1 to 40 items |
settings | object |
JSON Schema
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"questions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"config": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"choice"
]
},
"options": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"minItems": 2,
"maxItems": 24,
"uniqueItems": true
},
"maxPicks": {
"type": "integer",
"minimum": 1,
"maximum": 24
}
},
"required": [
"type",
"options"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"scale"
]
},
"max": {
"type": "integer",
"minimum": 2,
"maximum": 10
},
"lowLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"highLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
},
"required": [
"prompt",
"config"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 40
},
"settings": {
"type": "object",
"properties": {
"pacing": {
"type": "string",
"enum": [
"live",
"self"
]
},
"showResultsToVoters": {
"type": "string",
"enum": [
"never",
"afterVote",
"afterClose"
]
},
"allowChange": {
"type": "boolean"
},
"showBranding": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"required": [
"title",
"questions"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckRequired | object |
questionIdsRequired | string[]0 to 40 items |
JSON Schema
{
"type": "object",
"properties": {
"deck": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"code": {
"type": "string"
},
"createdAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updatedAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"settings": {
"type": "object",
"properties": {
"pacing": {
"type": "string",
"enum": [
"live",
"self"
]
},
"showResultsToVoters": {
"type": "string",
"enum": [
"never",
"afterVote",
"afterClose"
]
},
"allowChange": {
"type": "boolean"
},
"showBranding": {
"type": "boolean"
},
"shareResults": {
"type": "boolean"
}
},
"required": [
"pacing",
"showResultsToVoters",
"allowChange",
"showBranding",
"shareResults"
],
"additionalProperties": false
}
},
"required": [
"id",
"title",
"code",
"createdAt",
"updatedAt",
"settings"
],
"additionalProperties": false
},
"questionIds": {
"type": "array",
"items": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"minItems": 0,
"maxItems": 40,
"uniqueItems": true
}
},
"required": [
"deck",
"questionIds"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_deck",
"arguments": {
"title": "Workshop check-in",
"questions": [
{
"prompt": "What should we cover next?",
"config": {
"type": "choice",
"options": [
"Examples",
"Questions"
]
}
}
]
}
}
}update_deck
readwriteChange a poll’s title using its deck ID. Use update_deck_settings for audience settings.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
titleRequired | string1 to 120 characters |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"deckId",
"title"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckRequired | object |
JSON Schema
{
"type": "object",
"properties": {
"deck": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"code": {
"type": "string"
},
"createdAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updatedAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"settings": {
"type": "object",
"properties": {
"pacing": {
"type": "string",
"enum": [
"live",
"self"
]
},
"showResultsToVoters": {
"type": "string",
"enum": [
"never",
"afterVote",
"afterClose"
]
},
"allowChange": {
"type": "boolean"
},
"showBranding": {
"type": "boolean"
},
"shareResults": {
"type": "boolean"
}
},
"required": [
"pacing",
"showResultsToVoters",
"allowChange",
"showBranding",
"shareResults"
],
"additionalProperties": false
}
},
"required": [
"id",
"title",
"code",
"createdAt",
"updatedAt",
"settings"
],
"additionalProperties": false
}
},
"required": [
"deck"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_deck",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038",
"title": "Workshop Q&A"
}
}
}duplicate_deck
readwriteCopy a poll’s title, questions and settings, including whether results sharing is enabled. You can supply a different title. The copy gets a new join code and its own results links. Votes and live state start fresh.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
title | string1 to 120 characters |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"deckId"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckRequired | object |
questionIdsRequired | string[]0 to 40 items |
JSON Schema
{
"type": "object",
"properties": {
"deck": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"code": {
"type": "string"
},
"createdAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updatedAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"settings": {
"type": "object",
"properties": {
"pacing": {
"type": "string",
"enum": [
"live",
"self"
]
},
"showResultsToVoters": {
"type": "string",
"enum": [
"never",
"afterVote",
"afterClose"
]
},
"allowChange": {
"type": "boolean"
},
"showBranding": {
"type": "boolean"
},
"shareResults": {
"type": "boolean"
}
},
"required": [
"pacing",
"showResultsToVoters",
"allowChange",
"showBranding",
"shareResults"
],
"additionalProperties": false
}
},
"required": [
"id",
"title",
"code",
"createdAt",
"updatedAt",
"settings"
],
"additionalProperties": false
},
"questionIds": {
"type": "array",
"items": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"minItems": 0,
"maxItems": 40,
"uniqueItems": true
}
},
"required": [
"deck",
"questionIds"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "duplicate_deck",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038"
}
}
}delete_deck
readwriteDestructiveRequiresconfirm: truePermanently delete a poll and its responses. Its join and results links stop working. Ask the user to confirm the exact poll first.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
confirmRequired | true |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"confirm": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"deckId",
"confirm"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckIdRequired | string |
deletedRequired | true |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"deleted": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"deckId",
"deleted"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_deck",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038",
"confirm": true
}
}
}get_question
readRead-onlyRead one question’s prompt and configuration by ID within its poll.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
questionIdRequired | string |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"questionId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
}
},
"required": [
"deckId",
"questionId"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckIdRequired | string |
questionRequired | object |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"question": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"config": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"choice"
]
},
"options": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"minItems": 2,
"maxItems": 24,
"uniqueItems": true
},
"maxPicks": {
"type": "integer",
"minimum": 1,
"maximum": 24
}
},
"required": [
"type",
"options",
"maxPicks"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"scale"
]
},
"max": {
"type": "integer",
"minimum": 2,
"maximum": 10
},
"lowLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"highLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
}
},
"required": [
"type",
"max",
"lowLabel",
"highLabel"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
},
"required": [
"id",
"prompt",
"config"
],
"additionalProperties": false
}
},
"required": [
"deckId",
"question"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_question",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038",
"questionId": "d021f5e3-48d1-4caf-a29d-30a14273e650"
}
}
}add_question
readwriteAppend a choice, scale or short-text question to the poll. Do not ask for personally identifying information.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
questionRequired | object |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"question": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"config": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"choice"
]
},
"options": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"minItems": 2,
"maxItems": 24,
"uniqueItems": true
},
"maxPicks": {
"type": "integer",
"minimum": 1,
"maximum": 24
}
},
"required": [
"type",
"options"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"scale"
]
},
"max": {
"type": "integer",
"minimum": 2,
"maximum": 10
},
"lowLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"highLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
},
"required": [
"prompt",
"config"
],
"additionalProperties": false
}
},
"required": [
"deckId",
"question"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckIdRequired | string |
questionRequired | object |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"question": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"config": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"choice"
]
},
"options": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"minItems": 2,
"maxItems": 24,
"uniqueItems": true
},
"maxPicks": {
"type": "integer",
"minimum": 1,
"maximum": 24
}
},
"required": [
"type",
"options",
"maxPicks"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"scale"
]
},
"max": {
"type": "integer",
"minimum": 2,
"maximum": 10
},
"lowLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"highLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
}
},
"required": [
"type",
"max",
"lowLabel",
"highLabel"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
},
"required": [
"id",
"prompt",
"config"
],
"additionalProperties": false
}
},
"required": [
"deckId",
"question"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_question",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038",
"question": {
"prompt": "What should we cover next?",
"config": {
"type": "choice",
"options": [
"Examples",
"Questions"
]
}
}
}
}
}update_question
readwriteDestructiveEdit question wording without changing existing answers. Provide either wording (prompt, optionLabels by zero-based index, or scale end labels) or the full question. Structure can change while the question has no responses, even while voting is open. If it has responses, close voting and reset them first. Use wording to rename choice options without clearing responses.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
questionIdRequired | string |
question | object |
wording | object |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"questionId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"question": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"config": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"choice"
]
},
"options": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"minItems": 2,
"maxItems": 24,
"uniqueItems": true
},
"maxPicks": {
"type": "integer",
"minimum": 1,
"maximum": 24
}
},
"required": [
"type",
"options"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"scale"
]
},
"max": {
"type": "integer",
"minimum": 2,
"maximum": 10
},
"lowLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"highLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
}
},
"required": [
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
},
"required": [
"prompt",
"config"
],
"additionalProperties": false
},
"wording": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"optionLabels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 0,
"maximum": 23
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 160
}
},
"required": [
"index",
"label"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 24
},
"lowLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"highLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
}
},
"additionalProperties": false,
"minProperties": 1
}
},
"required": [
"deckId",
"questionId"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckIdRequired | string |
questionRequired | object |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"question": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"config": {
"anyOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"choice"
]
},
"options": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"minItems": 2,
"maxItems": 24,
"uniqueItems": true
},
"maxPicks": {
"type": "integer",
"minimum": 1,
"maximum": 24
}
},
"required": [
"type",
"options",
"maxPicks"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"scale"
]
},
"max": {
"type": "integer",
"minimum": 2,
"maximum": 10
},
"lowLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"highLabel": {
"type": "string",
"minLength": 0,
"maxLength": 100
}
},
"required": [
"type",
"max",
"lowLabel",
"highLabel"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
]
}
},
"required": [
"id",
"prompt",
"config"
],
"additionalProperties": false
}
},
"required": [
"deckId",
"question"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_question",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038",
"questionId": "d021f5e3-48d1-4caf-a29d-30a14273e650",
"wording": {
"prompt": "What should we do next?"
}
}
}
}delete_question
readwriteDestructiveRequiresconfirm: truePermanently delete a question and its responses. Warn that existing question links and QR codes may point elsewhere, especially when the poll has responses. Ask the user to confirm the exact question first.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
questionIdRequired | string |
confirmRequired | true |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"questionId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"confirm": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"deckId",
"questionId",
"confirm"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckIdRequired | string |
questionIdRequired | string |
deletedRequired | true |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"questionId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"deleted": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"deckId",
"questionId",
"deleted"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_question",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038",
"questionId": "d021f5e3-48d1-4caf-a29d-30a14273e650",
"confirm": true
}
}
}reorder_questions
readwriteDestructiveSet the order with every current question ID exactly once. Old per-question links and QR codes may now point at different questions. Warn and get confirmation if the poll has responses; also confirm if already shared or presenting.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
questionIdsRequired | string[]0 to 40 items |
confirm | true |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"questionIds": {
"type": "array",
"items": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"minItems": 0,
"maxItems": 40,
"uniqueItems": true
},
"confirm": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"deckId",
"questionIds"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckIdRequired | string |
questionIdsRequired | string[]0 to 40 items |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"questionIds": {
"type": "array",
"items": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"minItems": 0,
"maxItems": 40,
"uniqueItems": true
}
},
"required": [
"deckId",
"questionIds"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "reorder_questions",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038",
"questionIds": [
"d021f5e3-48d1-4caf-a29d-30a14273e650"
],
"confirm": true
}
}
}update_deck_settings
readwriteliveDestructiveChange pacing, voter result timing, answer changes, branding, or public results links. Share results only when explicitly asked; anyone with the resulting links can use them. Re-enabling sharing restores the old links.
Input
| Field | Type |
|---|---|
deckIdRequired | string |
settingsRequired | object |
JSON Schema
{
"type": "object",
"properties": {
"deckId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"settings": {
"type": "object",
"properties": {
"pacing": {
"type": "string",
"enum": [
"live",
"self"
]
},
"showResultsToVoters": {
"type": "string",
"enum": [
"never",
"afterVote",
"afterClose"
]
},
"allowChange": {
"type": "boolean"
},
"showBranding": {
"type": "boolean"
},
"shareResults": {
"type": "boolean"
}
},
"additionalProperties": false,
"minProperties": 1
}
},
"required": [
"deckId",
"settings"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Output
| Field | Type |
|---|---|
deckRequired | object |
JSON Schema
{
"type": "object",
"properties": {
"deck": {
"type": "object",
"properties": {
"id": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"code": {
"type": "string"
},
"createdAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updatedAt": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"settings": {
"type": "object",
"properties": {
"pacing": {
"type": "string",
"enum": [
"live",
"self"
]
},
"showResultsToVoters": {
"type": "string",
"enum": [
"never",
"afterVote",
"afterClose"
]
},
"allowChange": {
"type": "boolean"
},
"showBranding": {
"type": "boolean"
},
"shareResults": {
"type": "boolean"
}
},
"required": [
"pacing",
"showResultsToVoters",
"allowChange",
"showBranding",
"shareResults"
],
"additionalProperties": false
}
},
"required": [
"id",
"title",
"code",
"createdAt",
"updatedAt",
"settings"
],
"additionalProperties": false
}
},
"required": [
"deck"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Example call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_deck_settings",
"arguments": {
"deckId": "6b114677-7751-4930-a2da-31fcad879038",
"settings": {
"shareResults": false
}
}
}
}