Crear o editar un juego
save_gameCreate or edit an interactive game for a Chispa classroom lesson using a game type and configuration; it stays a draft unless published.
Instructions
[Equipo del aula] Crea un juego interactivo en una lección o edita uno existente (envía game_id). El config depende del tipo: clasificar: {buckets:[{key,label}] (2-6), items:[{text,bucket,why?}] (3-60)}; ordenar: {items:[{text,label?,order}] (3-30)}; emparejar: {pairs:[{left,right}] (3-30)}; memoria: {pairs:[{left,right}] (3-10)}; verdadero_falso: {items:[{text,answer,why?}] (3-60)}; completar: {items:[{text con ___, answer, options?, why?}] (3-40)}; sopa y descifrar: {items:[{text,clue?}] (3-30)}. Queda en borrador salvo que se publique.
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": {
"classroom_id": "<classroom_id>",
"session_id": "<session_id>",
"kind": "<kind>",
"title": "<title>",
"config": "<config>"
},
"name": "save_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Tipo de juego | |
| title | Yes | Título | |
| config | Yes | Configuración según el tipo | |
| prompt | No | Consigna | |
| game_id | No | Juego a editar | |
| position | No | ||
| published | No | ||
| session_id | Yes | Lección | |
| classroom_id | Yes | Aula |