Save a quiz or poll you wrote on Tjaz
save_quizSaves a quiz, a poll or a word cloud whose questions are already written, by the user or by you, on Tjaz, and gives back a link to play it alone, in a 3D game or together on a big screen, and to share it. Use this when the user has the questions, e.g. pasted them, or asks you to write them. Each question has a kind: question (the default) has right answers; poll, scale, ranking and wordCloud ask for opinions and have no right answer; guessNumber has a right number to guess. Tjaz has no written answers: when the players should write, use a wordCloud with entries 3, for up to 3 words or short phrases each. A question whose right answer the user didn't mark is still a question: mark the right answer when you know it for certain, or ask the user, and never make it a poll. Grown-ups may name their colleagues in a friendly poll at work, and grown-up friends and family in one at a private party: say in the title or the question who it's for, e.g. a staff party, a team meeting or a silver wedding, and ask only what the one who's chosen can be proud of, e.g. who's most likely to win at karaoke, never a dig, e.g. who's late, lazy or asleep first, or anything about looks, love or health. Don't put the names of pupils, children, also in the family, or other private persons in questions or answers, nor ask the players to write them, as Tjaz refuses them: suggest roles instead, e.g. "the goalkeeper" or "the newest of us". Tjaz checks the quiz against its terms before saving it
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": {
"title": "<title>",
"language": "<language>",
"questions": "<questions>"
},
"name": "save_quiz"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | A short title, at most 8 words | |
| public | No | Whether the user wants it on tjaz.com/quizzes, where anyone can find it. A quiz from a chat is saved for those who get its link only; the user can show it on tjaz.com/quizzes from its Share dialog on tjaz.com | |
| players | No | Who will play the quiz. An age group: children (6–12), teens (13–17), adults (18–64), seniors (65+); or, for school, a level: grade0 is the first year of school at about 6 (kindergarten, Danish 0. klasse), grade1 to grade12 the school years after it (grade4 is US Grade 4, Danish 4. klasse, German 4. Klasse, UK Year 5; grade10–grade12 are the last three years of upper secondary school, e.g. Danish 1.g–3.g), then bachelor, master, phd, or nobel for experts. Leave it out when the user didn't say who will play: Tjaz then reads it from the description, as tjaz.com does | |
| language | Yes | The language of the quiz: the language's code as Tjaz has it, ISO 639-1, e.g. da, en, ar, uk, and nb for Norwegian | |
| questions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quiz | No | ||
| status | Yes | ||
| message | No | Why it was refused, or what to tell the user |