Volver al catálogo

Educaplay MCP

educaplay_mcp

Educaplay is a platform for creating interactive educational games. Its MCP server creates and edits activities, fills their content, adds images and audio, publishes them, organizes them in lists, manages guest access and shares them to Google Classroom.

Acciones
42
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (42)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Add labelEDUCAPLAY_MCP_ADD_LABELAcción

Add a label (tag) to an activity.

Parámetros de entrada

  • labelstringObligatorio

    Label text, at most 127 characters.

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Attach videoEDUCAPLAY_MCP_ATTACH_VIDEOAcción

Add a YouTube video to the end of the timeline of a video quiz, playing whole. Only with a link the user gave, never an invented one. Returns the title, description and length of the video and the second where it starts and ends in the game, which is what the "at" of each question refers to.

Parámetros de entrada

  • urlstringObligatorio

    Link to the video on YouTube, exactly as the user wrote it.

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Change item explanationsEDUCAPLAY_MCP_CHANGE_ITEM_EXPLANATIONSAcción

Remove explanations, or choose when the player sees them, without touching anything else. Call it ONLY when the user asked for it: "remove": the explanation goes away with its image or audio and cannot be undone; "remove_text": only its text goes, its image or audio stays (to take away only the image or audio, use remove_item_media); "show_always": shown after every answer; "show_on_mistake": shown only after a wrong answer. The result lists the items that changed and in "skipped" the ones that could not, with the reason.

Parámetros de entrada

  • itemsobject[]Obligatorio

    With scope "listed", one entry per item the user named; empty with "all".

  • scopestringObligatorioenum

    "all": every explanation of the activity, and "items" is left empty. "listed": only the items in "items".

    alllisted
  • actionstringObligatorioenum

    What happens to those explanations.

    removeremove_textshow_alwaysshow_on_mistake
  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Classify activityEDUCAPLAY_MCP_CLASSIFY_ACTIVITYAcción

Fill in the classification of an activity that is still empty: its educational level, its knowledge area and its labels. It is the step that set_activity_content asks for when its result lists "level", "area" or "labels" in next_step.fields; the values come from next_step.catalog and from what the activity is about. It only fills what is empty and never changes a value already set: when the user asks to change the level, the area or the labels, use set_activity_audience, add_label or remove_label.

Parámetros de entrada

  • areainteger

    Knowledge area id, from next_step.catalog.areas.

  • levelobject

    Educational level as {"kind": "course"|"age", "value": number, "subject": number}. Kind course takes the id of a course of next_step.catalog.levels, the courses of the education system of the user; add "subject" only with a subject id that a previous call returned in "subjects". Kind age takes a recommended age from 1 to 21, only when the catalog has no courses or none fits (adults, general public).

  • labelsstring[]

    Labels (tags) about the topic of the content, in the content language: lowercase, one topic each, 3 to 6. The course and the area become labels on their own, so never repeat them here.

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Create activityEDUCAPLAY_MCP_CREATE_ACTIVITYAcción

Create a new empty activity for the current user. Its result brings "content_schema": the schema, the writing guide and the limits of the content of that type, which is what set_activity_content needs next. Keep working on the activity already open: create a second one only when the user explicitly asks for another activity, never as a way around the type that is open.

Parámetros de entrada

  • langstring

    Content language code (es, en, fr...). Defaults to the user language.

  • typestringObligatorioenum

    Activity type. The one the user named, in any wording and language (ADIVINANZA = Riddle, ASTERQUIZ = AsterQuiz, COMPLETAR = Fill in the Blanks, CRUCIGRAMA = Crossword Puzzle, DIALOGO = Dialogue, DICTADO = Dictation, FROGGY_JUMPS = Froggy Jumps, LINE_UP = Line Up, ORDENAR_LETRAS = Unscramble Letters, ORDENAR_PALABRAS = Unscramble Words, PRESENTACION = Slideshow, PUZZLE = Jigsaw Puzzle, RELACIONAR = Matching, RELACIONAR_COLUMNAS = Matching Pairs, RELACIONAR_MOSAICO = Memory, RULETA_PALABRAS = Alphabet, SOPA = Word Search Puzzle, TEST = Quiz, VIDEOTEST = Video Quiz, YESORNO = Yes or No); when they named none, the one whose "best_for" suits the content best (the list of types in your context, or list_activity_types), never a quiz just because it is the usual choice.

    ASTERQUIZLINE_UPYESORNOFROGGY_JUMPSADIVINANZARELACIONARTESTRULETA_PALABRASRELACIONAR_MOSAICORELACIONAR_COLUMNASSOPACRUCIGRAMA+8
  • titlestringObligatorio

    Title of the activity, written by you from what the user asked for. Never leave it empty and never ask the user for it.

  • descriptionstringObligatorio

    Short description of the activity, written by you. Never leave it empty and never ask the user for it.

Parámetros de salida

Sin parámetros.

Create folderEDUCAPLAY_MCP_CREATE_FOLDERAcción

Create a list for the current user (the Lists of My games). Lists cannot go inside other lists. On plans below Academic an account can have at most 3 lists, and creating one more fails with "folder_limit_reached". Same as POST users/{idUser}/folders/ with action=create of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response". The new list comes in "folder".

Parámetros de entrada

  • namestringObligatorio

    Name of the list, at most 50 characters and different from the names of the other lists of the user.

Parámetros de salida

Sin parámetros.

Create google classroom assignmentEDUCAPLAY_MCP_CREATE_GOOGLE_CLASSROOM_ASSIGNMENTAcción

Create an assignment in Google Classroom with an Educaplay activity, in one of the Classroom courses of the user. It does exactly what sharing the activity to Google Classroom from the Educaplay website does: Educaplay creates the assignment, so the grade of each student reaches Classroom when they finish the game. As on the website, the activity can be one of the user's or one by another author. Call it only when the user asks to send or assign an activity to Google Classroom. Without course_id it creates nothing and returns the courses of the Google account connected to Educaplay: ask which one when it is not clear, then call again with its course_id. Each assignment counts against the Google Classroom limit of the plan of the user, the same as on the website.

Parámetros de entrada

  • draftboolean

    true saves the assignment as a draft that only the teachers of the course see until they publish it in Classroom; false or omitted publishes it to the students right away.

  • gradestringenum

    Which game becomes the grade in Classroom: "first" (the default, as on the website) the first one the student finishes, "best" the best of all of them.

    firstbest
  • course_idstring

    Id of the Classroom course, from "courses" in a previous result of this tool. Omit it to get the courses.

  • activity_idintegerObligatorio

    Id of the activity: from list_my_activities, or the number in the address of the activity when the user gives its link.

Parámetros de salida

Sin parámetros.

Delete foldersEDUCAPLAY_MCP_DELETE_FOLDERSAcción

Delete one or several lists of the current user (the Lists of My games). The games inside are not deleted: they stay in My games and in their other lists. Ids of lists of other users are ignored. Same as POST users/{idUser}/folders/ with action=delete of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response".

Parámetros de entrada

  • idsinteger[]Obligatorio

    Ids of the lists, from list_my_folders.

Parámetros de salida

Sin parámetros.

Describe imageEDUCAPLAY_MCP_DESCRIBE_IMAGEAcción

Describe one image of the media library. Pass the media_id returned by list_my_media or search_image_library. Use it only when the user explicitly asks about an image.

Parámetros de entrada

  • media_idstringObligatorio

    Id returned by list_my_media or search_image_library.

Parámetros de salida

Sin parámetros.

Generate field audioEDUCAPLAY_MCP_GENERATE_FIELD_AUDIOAcción

Generate the spoken audio of a part of the activity and save it into its texts. Call it ONLY when the user asked for audio in their own words: generating spends the text to speech quota of the user, so never add audio on your own initiative, not even to finish an activity you have just written. Say which part they named and nothing more: "elements" are the kinds of text they named, from "media_targets.audio" of the activity state ("the questions" is question, never question and choice; "the answers" is choice; "everything" is every element listed there), and "answers" narrows the choices to the correct or the incorrect ones. With "selection": "all_of_elements" every text of those elements gets its audio and you send no texts; when they named items by their place (question 2, the odd ones, the first five), add those positions in "positions". Only for a rule about the texts themselves (the capitals, the longest ones, one text they quoted), use "listed_texts" and send exactly those texts in "items". A text that already has audio keeps it unless existing is "replace"; one with a video or a youtube link is always left untouched. The audio speaks with the voice and the speed the user chose last in that language: send "audio_config" only when the user asked in this request for a voice or a speed, never on your own initiative (list_voices gives the voices, also to pick one by gender or accent). The result lists in "generated" every text that got its audio, with the element and the item it belongs to; when it has "voice" or "speed", tell the user which ones spoke.

Parámetros de entrada

  • itemsobject[]

    Only with "selection": "listed_texts": one entry per text the user named.

  • answersstringObligatorioenum

    For the choices of a question: "correct" or "incorrect" when the user named only those, otherwise "all".

    allcorrectincorrect
  • elementsstring[]Obligatorio

    The kinds of text the user named, from media_targets.audio: only those.

  • existingstringObligatorioenum

    What happens to a text that already has audio. "keep": it is left untouched; the value for every request to ADD audio. "replace": its audio is generated again and the old one is discarded, and texts without audio are left as they are; ONLY when the user asked to change, redo or regenerate the audio of those very texts (for example after rewriting them, or to hear them in another language).

    keepreplace
  • languagestringObligatorio

    Voice language: "activity" to use the language of the activity, or an ISO 639-1 code (es, en, fr...) when the user asks for another one.

  • positionsinteger[]Obligatorio

    With "all_of_elements": the "position" of the items the user named by their place; empty for every item.

  • selectionstringObligatorioenum

    "all_of_elements": every text of the elements. "listed_texts": only the texts in "items".

    all_of_elementslisted_texts
  • activity_idintegerObligatorio

    Id of the activity.

  • audio_configobject

    How the audio speaks. Only when the user asked in this request for a voice or a speed; leave it out otherwise. In a dialogue send only "speed": every character keeps its own voice.

Parámetros de salida

Sin parámetros.

Get activityEDUCAPLAY_MCP_GET_ACTIVITYAcción

Read the current state of one activity: metadata, labels, settings, quality suggestions and publish blockers.

Parámetros de entrada

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Get activity contentEDUCAPLAY_MCP_GET_ACTIVITY_CONTENTAcción

Read the content items of one activity, paginated and in a readable form.

Parámetros de entrada

  • pageinteger

    Page number, starting at 1.

  • page_sizeinteger

    Items per page, at most 50.

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Get activity schemaEDUCAPLAY_MCP_GET_ACTIVITY_SCHEMAAcción

Get the JSON schema of the "content" argument of set_activity_content for one activity type, plus its writing guide and limits.

Parámetros de entrada

  • typestringObligatorioenum

    Activity type.

    ASTERQUIZLINE_UPYESORNOFROGGY_JUMPSADIVINANZARELACIONARTESTRULETA_PALABRASRELACIONAR_MOSAICORELACIONAR_COLUMNASSOPACRUCIGRAMA+8
  • include_settingsboolean

    Also return the catalog of editable settings.

Parámetros de salida

Sin parámetros.

Get folder guest accessEDUCAPLAY_MCP_GET_FOLDER_GUEST_ACCESSAcción

Tell who can open each of the given lists of the current user (the Lists of My games): "all" true means every guest of the user, "groupIds" and "guestIds" are the groups and the guests with access, and "guests" gives the names of those guests. Same as GET users/{idUser}/folderguests/?ids= of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response".

Parámetros de entrada

  • idsinteger[]Obligatorio

    Ids of the lists, from list_my_folders.

Parámetros de salida

Sin parámetros.

Get publish blockersEDUCAPLAY_MCP_GET_PUBLISH_BLOCKERSAcción

Check whether an activity can be published and what is blocking it.

Parámetros de entrada

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Illustrate itemsEDUCAPLAY_MCP_ILLUSTRATE_ITEMSAcción

Add images to the activity: for every text you send, it searches the Educaplay image bank and a stock photo library for what you describe, chooses the best match and puts it on that text, without touching the text or its audio. It is the way to add images, and you must call it ONLY when the user asked for images in their own words: never illustrate an activity on your own initiative, not even one you have just written. The user decides WHICH texts get an image and you send exactly those, every one of them: all the questions, every choice, only the correct choices, only the incorrect ones, the odd or the even items, the first five, one named text... whatever they said. Never reduce their selection, never pick a subset of your own and never ask which ones to start with: send the whole selection in this call, up to 40 entries, and call again in the same turn with the rest when there are more. Which texts can hold an image depends on the type: "media_targets.image" in the activity state lists them (for example question and choice, or word, hint, definition, card). A text that already has an image keeps it unless existing is "replace"; one with a video or a youtube link is always left untouched. The result lists in "applied" every text that got its image, with the element and the item it went to and, when known, what the image shows, and in "pending" the texts that are still waiting for theirs.

Parámetros de entrada

  • itemsobject[]Obligatorio

    One entry per text that must get an image: every text of the selection the user asked for, none left out.

  • answersstringObligatorioenum

    For the choices of a question: "correct" or "incorrect" when the user named only those, otherwise "all".

    allcorrectincorrect
  • elementsstring[]Obligatorio

    The kinds of text the user named, from media_targets.image ("the questions" is question, never question and choice; "the answers" is choice): only those. A text of another kind is left without image.

  • existingstringObligatorioenum

    What happens to a text that already has an image. "keep": it is left untouched; the value for every request to ADD images. "replace": its image is replaced by a different one and the old one is discarded, and texts without an image are left as they are; ONLY when the user asked to change or replace the image of those very texts ("change the image of Paris", "another picture for question 2", "I do not like that one").

    keepreplace
  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

List activity typesEDUCAPLAY_MCP_LIST_ACTIVITY_TYPESAcción

List the activity types the assistant can create and edit, with their localized name, what each one is best for, payload key and capabilities. The order changes on every call and "how_to_choose" says how to pick the type of a new activity from it. Not needed when the user already named the type: create_activity takes it directly.

Parámetros de entrada

  • only_ai_capableboolean

    Default true. Pass false to also list types this assistant cannot edit yet.

Parámetros de salida

Sin parámetros.

List folder activitiesEDUCAPLAY_MCP_LIST_FOLDER_ACTIVITIESAcción

List the games inside one list of the current user (the Lists of My games), in the order My games shows them. A list only shows its published games. Same as GET users/{idUser}/activities/?folder= of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response". While "hasMore" is true, pass "nextCursor" as "before" to get the next page.

Parámetros de entrada

  • q2string

    Only the games whose title, description or labels contain this text.

  • sortstringenum

    Order of the games, as in the selector of My games: "updated" (last modified first, the default), "created" (newest first) or "title" (alphabetical).

    updatedcreatedtitle
  • typestringenum

    Only the games of this activity type.

    ASTERQUIZLINE_UPPUZZLEYESORNOFROGGY_JUMPSVIDEOTESTADIVINANZAMAPARELACIONARTESTRULETA_PALABRASRELACIONAR_MOSAICO+9
  • beforestring

    "nextCursor" of the previous page. Omit it for the first page.

  • folderintegerObligatorio

    Id of the list, from list_my_folders.

  • lengthinteger

    Games per page: 20 by default, at most 100.

Parámetros de salida

Sin parámetros.

List my activitiesEDUCAPLAY_MCP_LIST_MY_ACTIVITIESAcción

List the activities of the current user, newest first, with pagination.

Parámetros de entrada

  • pageinteger

    Page number, starting at 1.

  • typestringenum

    Filter by activity type.

    ASTERQUIZLINE_UPYESORNOFROGGY_JUMPSADIVINANZARELACIONARTESTRULETA_PALABRASRELACIONAR_MOSAICORELACIONAR_COLUMNASSOPACRUCIGRAMA+8
  • querystring

    Text to search in the title.

  • page_sizeinteger

    Items per page, at most 20.

  • publishedboolean

    true = only published, false = only unpublished. Omit for both.

Parámetros de salida

Sin parámetros.

List my foldersEDUCAPLAY_MCP_LIST_MY_FOLDERSAcción

List the lists of the current user (the Lists of My games), newest first. Each list brings its number of games ("numResources"), "shareUrl", the public link to share the list, "url", where the user opens it in My games, and "guestAccess", the guests and groups that can open it. Lists cannot contain other lists. Same as GET users/{idUser}/folders/ of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response". While "hasMore" is true, pass "nextCursor" as "before" to get the next page.

Parámetros de entrada

  • beforeinteger

    "nextCursor" of the previous page. Omit it for the first page.

  • lengthinteger

    Lists per page. Default 20.

Parámetros de salida

Sin parámetros.

List my guest groupsEDUCAPLAY_MCP_LIST_MY_GUEST_GROUPSAcción

List the groups of guests of the current user, with how many guests each one has and the games and lists the group can open. Use the ids with set_folder_guest_access. Same as GET users/{idUser}/guests/groups/ of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response".

Parámetros de entrada

Sin parámetros.

Parámetros de salida

Sin parámetros.

List my guestsEDUCAPLAY_MCP_LIST_MY_GUESTSAcción

List the guests of the current user: the people they invite to play with an access code, without an Educaplay account. Each guest brings its id, name, access code and link, its groups, and the games and lists it can open. Use the ids with set_folder_guest_access. Same as GET users/{idUser}/guests/ of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response". While "hasMore" is true, pass "nextCursor" as "before" to get the next page.

Parámetros de entrada

  • q2string

    Only the guests whose name or access code contains this text.

  • groupstring

    Only the guests of this group, by its id from list_my_guest_groups, or "none" for the guests without a group.

  • beforestring

    "nextCursor" of the previous page. Omit it for the first page.

  • knownOnlyboolean

    true to leave out the guests that still have the automatic name; "hiddenCount" says how many were left out.

  • connectedFirstboolean

    true to list first the guests who have already entered with their code.

Parámetros de salida

Sin parámetros.

List my mediaEDUCAPLAY_MCP_LIST_MY_MEDIAAcción

List the media files the user already has in their activities, newest first and with no relation to what they show, so that the user can point at one of them. To choose an image for a text use search_image_library instead: this list cannot tell you what each file contains.

Parámetros de entrada

  • kindstringenum

    Filter by media kind.

    imageaudioyoutube
  • pageinteger

    Page number, starting at 1.

  • querystring

    Text to search in the file name.

Parámetros de salida

Sin parámetros.

List voicesEDUCAPLAY_MCP_LIST_VOICESAcción

List the voices that can speak the audio of a language: the same ones the audio window of the editor offers, each with its name, gender and locale (es-ES Spain, es-MX Mexico, es-US United States...), and "high_quality" for the ones the editor marks so. It also gives the speeds with the names the editor shows and, in "user_preference", the voice and speed the user chose last in that language, which generate_field_audio uses when it gets no audio_config. Call it when the user asks which voices there are, or asks for a voice by its gender or accent, to pick its name. With "fallback_language", the language has no voices of its own and its audio is read by these.

Parámetros de entrada

  • languagestringObligatorio

    ISO 639-1 code: the "lang" of the activity, or the language the user named.

Parámetros de salida

Sin parámetros.

Publish activityEDUCAPLAY_MCP_PUBLISH_ACTIVITYAcción

Publish an activity so that it can be played and shared. It checks the publishing blockers itself and, when the activity is not ready, fails with their list.

Parámetros de entrada

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Remove item mediaEDUCAPLAY_MCP_REMOVE_ITEM_MEDIAAcción

Take the image or the audio away from texts of the activity, leaving the text and everything else as it is. It cannot be undone. Call it ONLY when the user asked to remove, delete or take away the image or the audio of texts they name, or to swap one medium for the other ("change the image of Paris for an audio": first add the audio, then remove the image). Never use it to change an image for another image or an audio for another audio: that is "existing": "replace" in illustrate_items, set_item_images or generate_field_audio. Send exactly the texts the user named, up to 40 per call. The result lists in "removed" every text that lost it and in "skipped" the ones that had none.

Parámetros de entrada

  • kindstringObligatorioenum

    Which medium is removed from those texts. The other one, if they have it, stays.

    imageaudio
  • itemsobject[]Obligatorio

    One entry per text that must lose it: only the texts the user named.

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Remove labelEDUCAPLAY_MCP_REMOVE_LABELAcción

Remove a label (tag) from an activity by its name.

Parámetros de entrada

  • labelstringObligatorio

    Name of the label to remove.

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Rename folderEDUCAPLAY_MCP_RENAME_FOLDERAcción

Rename a list of the current user (the Lists of My games). Same as POST users/{idUser}/folders/{idFolder}/ with action=rename of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response".

Parámetros de entrada

  • namestringObligatorio

    New name, at most 50 characters and different from the names of the other lists of the user.

  • folderintegerObligatorio

    Id of the list, from list_my_folders.

Parámetros de salida

Sin parámetros.

Search image libraryEDUCAPLAY_MCP_SEARCH_IMAGE_LIBRARYAcción

List image candidates WITHOUT adding anything to the activity. Use it only when the user asks to see or to choose among options ("show me options for...", "which images are there of..."): to put images on the activity use illustrate_items, which finds and applies them in one step. Send one query per concept, up to 10 in the same call: each one is answered with candidates from the Educaplay image bank and from a stock photo library, every item with its "source" and a "title" that says what it shows. A call with a single query answers with more candidates and adds the images the user already has. Returned image ids are used in set_item_images.

Parámetros de entrada

  • pageinteger

    Page number, starting at 1. Only used when you send a single query.

  • queriesstring[]Obligatorio

    What each image should show, one text per concept.

Parámetros de salida

Sin parámetros.

Set activity audienceEDUCAPLAY_MCP_SET_ACTIVITY_AUDIENCEAcción

Set who the activity is aimed at: content language, target audience and knowledge area. Call it only when the user asks for one of these; a title or a description never needs it.

Parámetros de entrada

  • areainteger

    Knowledge area id. 0 removes the current one.

  • langstring

    Content language code (es, en, fr...). Changing it relabels the activity for that language.

  • audienceobject

    Who the activity is for, as {"kind": "age"|"subject", "value": number}: kind age takes a recommended age from 0 to 21, kind subject takes a subject id. They are the two ways of saying the same thing, so this object holds only one of them.

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Set activity contentEDUCAPLAY_MCP_SET_ACTIVITY_CONTENTAcción

Add or replace the content of an activity. The "content" object must follow the schema of the activity type: the "content_schema" that create_activity returned, or get_activity_schema for an activity that already existed. Never guess it.

Parámetros de entrada

  • modestringenum

    append adds to the existing content; replace empties it first.

    appendreplace
  • contentobjectObligatorio

    Content payload following the type schema.

  • activity_idintegerObligatorio

    Id of the activity.

  • audio_configobject

    How the audio speaks. Only for a dictation or a dialogue, whose audio this tool generates by itself, and only when the user asked in this request for a voice or a speed for that audio. In a dialogue send only "speed": every character keeps its own voice.

Parámetros de salida

Sin parámetros.

Set activity foldersEDUCAPLAY_MCP_SET_ACTIVITY_FOLDERSAcción

Put games into lists of the current user (the Lists of My games), take them out or move them from one list to another. With mode "add" the games go into the lists in "folders" and stay in the ones they were in; with "remove" they leave those lists; with "set", the default, each game ends up in exactly the lists in "folders", so "set" with an empty "folders" takes it out of all its lists. To move a game, send "set" with its new lists, or "remove" from one list and then "add" to the other. Taking a game out of a list never deletes it. Lists only show published games: with scope "all" only published games are taken, while games chosen by id go in whatever their state, and the unpublished ones do not show in the list. Ids of lists of other users are ignored. Choose the games by id, at most 50 per call, or with scope "all", every game that matches the filters ("folder", "type", "q2", "state") except those in "exclude": then each call handles one batch, and while "hasMore" is true you call again with "nextCursor" as "before". Same as POST users/{idUser}/activities/ with action=setFolders of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response". There "ok" lists the games changed and "failed" the ones that could not be, with the reason.

Parámetros de entrada

  • q2string

    With scope "all": only the games whose title, description or labels contain this text.

  • idsinteger[]

    Ids of the games, from list_my_activities or list_folder_activities. Not used with scope "all".

  • modestringenum

    How "folders" is applied: "set" (the default), "add" or "remove".

    setaddremove
  • typestringenum

    With scope "all": only the games of this activity type.

    ASTERQUIZLINE_UPPUZZLEYESORNOFROGGY_JUMPSVIDEOTESTADIVINANZAMAPARELACIONARTESTRULETA_PALABRASRELACIONAR_MOSAICO+9
  • scopestringenum

    "all" to act on every game that matches the filters instead of on "ids".

    all
  • statestringenum

    With scope "all": only the games in this state.

    publisheddraftsent
  • beforeinteger

    With scope "all": "nextCursor" of the previous batch. Omit it for the first batch.

  • folderinteger

    With scope "all": only the games of this list.

  • lengthinteger

    With scope "all": games per batch, at most 50, which is also the default.

  • excludeinteger[]

    With scope "all": ids of games to leave out.

  • foldersinteger[]

    Ids of the lists, from list_my_folders.

Parámetros de salida

Sin parámetros.

Set activity privacyEDUCAPLAY_MCP_SET_ACTIVITY_PRIVACYAcción

Change who can reach the activity: its visibility and whether the Top 10 ranking of scores is hidden. Call it only when the user asks to change one of the two.

Parámetros de entrada

  • privacystringenum

    New visibility of the activity.

    publicunlistedintegrationsinvitations
  • activity_idintegerObligatorio

    Id of the activity.

  • hide_resultsboolean

    true hides the Top 10 ranking of scores from players, false shows it.

Parámetros de salida

Sin parámetros.

Set folder guest accessEDUCAPLAY_MCP_SET_FOLDER_GUEST_ACCESSAcción

Give guests access to lists of the current user (the Lists of My games), or take it away. Guests are the people the user invites to play with an access code; access goes to one guest, to a group of guests or to all of them. Get the ids of guests and groups from list_my_guests and list_my_guest_groups. Lists of other users come back in "failed" as "forbidden", and only the first 50 list ids are used. Same as POST users/{idUser}/folders/ with action=setGuestAccess of the Educaplay REST API, for the current user: its JSON body, or its error body, comes in "response".

Parámetros de entrada

  • addobject[]

    Who gets access to those lists.

  • idsinteger[]Obligatorio

    Ids of the lists, from list_my_folders.

  • removeobject[]

    Who loses access to those lists.

Parámetros de salida

Sin parámetros.

Set item explanationsEDUCAPLAY_MCP_SET_ITEM_EXPLANATIONSAcción

Write or rewrite the explanation of items that already exist, leaving everything else as it is: their texts, their images and audio, and the image or audio of that explanation. Call it ONLY when the user asked to add, write or change explanations or feedback of items they name, or of all of them; never set_activity_content "replace" for that. Asking when explanations are shown ("set the explanation of question 3 to always show", "only on mistake"), or to remove some, is not asking to write them: that is change_item_explanations alone, never rewrite an existing explanation then, and never fill the items that have none, offer it instead. Up to 40 items per call. The result lists in "written" every item that got it ("replaced" when it already had one) and in "skipped" the ones that could not, with the reason.

Parámetros de entrada

  • itemsobject[]Obligatorio

    One entry per item whose explanation is written.

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Set item imagesEDUCAPLAY_MCP_SET_ITEM_IMAGESAcción

Put one specific image, chosen by its id, on texts of the activity, without touching the text or its audio. Only for an image the user pointed at: one of their own files (list_my_media) or a candidate they chose from search_image_library. When the user simply wants images on their texts, use illustrate_items, which finds them by itself. Call it ONLY when the user asked for images in their own words. Which texts can hold an image depends on the type: "media_targets.image" in the activity state lists them (for example question and choice, or word, hint, definition, card). Send the text of that exact element copied from get_activity_content: to illustrate a choice send the choice, to illustrate a question send the question. A text that already has an image keeps it unless existing is "replace"; one with a video or a youtube link is always left untouched. The result says, for every image, which element and which item it went to.

Parámetros de entrada

  • imagesobject[]Obligatorio

    One entry per text that must get an image.

  • existingstringObligatorioenum

    What happens to a text that already has an image. "keep": it is left untouched; the value for every request to ADD an image. "replace": its image is replaced by this one and the old one is discarded, and texts without an image are left as they are; ONLY when the user asked to change or replace the image of those very texts.

    keepreplace
  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Set item text visibilityEDUCAPLAY_MCP_SET_ITEM_TEXT_VISIBILITYAcción

Show texts of the activity as their image alone, or show their text again. Call it ONLY when the user asked for it in their own words: "leave only the flag", "remove the word and keep the picture", "only images in the left column" (hidden), or "put the names back" (shown). Hiding keeps the text stored, so the item can still be named and shown again, and it never touches the image or the audio. Only a text that already has an image can be hidden: when the user wants only images on texts that have none, first add them with illustrate_items and then call this tool in the same turn. Which texts can show only their image depends on the type: "media_targets.image_only" in the activity state lists them; an empty list means the type always shows its texts. Send exactly the texts the user named, up to 40 per call. The result lists in "hidden" or "shown" every text that changed and in "skipped" the ones that could not, with the reason.

Parámetros de entrada

  • itemsobject[]Obligatorio

    One entry per text the user named.

  • visibilitystringObligatorioenum

    "hidden": the player sees only the image of those texts. "shown": their text is shown again next to the image.

    hiddenshown
  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Set puzzle imageEDUCAPLAY_MCP_SET_PUZZLE_IMAGEAcción

Put the picture of a puzzle: the image the player puts together, cut into pieces whose number follows its shape and the piece level. Only for a puzzle (its state has "puzzle"); images on its questions and answers go with illustrate_items. Source "attachment": an image the user attached to the conversation for the puzzle, by its attachment_id. Source "search": an image that shows what you describe in "shows", found in the Educaplay image bank and a stock photo library. Source "image_id": the one the user chose from search_image_library or list_my_media. A puzzle that already has its picture keeps it unless existing is "replace", and with "search" a replacement is always a different picture. The result says what the picture shows, when known, and how many pieces the puzzle has.

Parámetros de entrada

  • showsstring

    With source "search": what the picture must show, in English in two to five words ("solar system planets", "Eiffel Tower Paris").

  • sourcestringObligatorioenum

    Where the picture comes from. Only the field of that source is used.

    attachmentsearchimage_id
  • existingstringObligatorioenum

    What happens when the puzzle already has a picture. "keep": it is left untouched; the value when the puzzle needs its first picture. "replace": it is changed and the old one is discarded; ONLY when the user asked to change the picture ("another picture", "use this photo instead", "I do not like it").

    keepreplace
  • image_idstring

    With source "image_id": id returned by search_image_library or list_my_media.

  • activity_idintegerObligatorio

    Id of the activity.

  • attachment_idstring

    With source "attachment": id of the attached image, exactly as it appears in the message of the user.

Parámetros de salida

Sin parámetros.

Unpublish activityEDUCAPLAY_MCP_UNPUBLISH_ACTIVITYAcción

Unpublish an activity so that it can no longer be played. It stays editable and can be published again.

Parámetros de entrada

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Update activityEDUCAPLAY_MCP_UPDATE_ACTIVITYAcción

Update the title and the description of an activity. Send only the one you want to change. An activity needs both to be published, and set_activity_content reports in next_step when they are still empty. The audience and the visibility have their own tools.

Parámetros de entrada

  • namestring

    New title.

  • intentstringObligatorioenum

    Why you are writing. "fill_empty" whenever naming the activity is your own initiative: a field that already has a value is kept as it is. "user_asked" only when the user explicitly asked to change that very title or that very description.

    fill_emptyuser_asked
  • activity_idintegerObligatorio

    Id of the activity.

  • descriptionstring

    New description.

Parámetros de salida

Sin parámetros.

Update activity settingsEDUCAPLAY_MCP_UPDATE_ACTIVITY_SETTINGSAcción

Update game settings of an activity (time limit, attempts, shuffling...). Get the editable fields with get_activity_schema(include_settings: true).

Parámetros de entrada

  • settingsobjectObligatorio

    Object with setting fields and their new values. Booleans as true/false.

  • activity_idintegerObligatorio

    Id of the activity.

Parámetros de salida

Sin parámetros.

Upload imagesEDUCAPLAY_MCP_UPLOAD_IMAGESAcción

Put on the activity images of this conversation, sent as files: the ones the user attached to use in the game, and the ones you created because the user asked you to create them yourself ("make the images yourself"). Never create images on your own initiative to use this tool: when the user simply wants images on their texts, use illustrate_items. Send one file per image in "images"; if you drew several pictures in one sheet, split it into one file per picture first. Send every placement the user asked for in this single call: in "items", one entry per text with the position of its image in "images" (the first one is 1); for the picture of a puzzle, its position in "puzzle_picture", because set_puzzle_image cannot receive files. Which texts can hold an image is listed in "media_targets.image" of the activity state; send the text of that exact element copied from get_activity_content. A text that already has an image keeps it unless existing is "replace"; one with a video or a youtube link is always left untouched. The result lists in "applied" the images that went in, and in "skipped" the ones that could not be added, each with its reason: tell the user about those, and never put another image in their place, neither from the Educaplay library nor from the image bank.

Parámetros de entrada

  • itemsobject[]

    One entry per text that must get an image: only the texts the user named, all of them. Leave it out when you send puzzle_picture.

  • imagesobject[]Obligatorio

    The image files, one per image. Their order gives the positions used in "items" and "puzzle_picture": the first one is 1.

  • existingstringObligatorioenum

    What happens to a text, or to a puzzle, that already has an image. "keep": it is left untouched; the value for every request to ADD images. "replace": its image is replaced by this one and the old one is discarded; ONLY when the user asked to change or replace it.

    keepreplace
  • activity_idintegerObligatorio

    Id of the activity.

  • puzzle_pictureinteger

    Only for a puzzle (its activity state has "puzzle"): position in "images" of the picture the player puts together, starting at 1. Send it instead of "items".

Parámetros de salida

Sin parámetros.