Attach picture or sound
attach_quiz_mediaAttach one picture or sound to an existing slide. First read the quiz to obtain the slide ID and revision. Use a file the person supplied or one made in this chat. Where available, pass the chat file. A client with the exact bytes can send base64 for a file up to 256 KiB; never transcribe or invent encoded file contents. For a picture found on the web, pass imageUrl: a direct https link to the image file itself (JPEG, PNG, WebP, GIF or AVIF), not to a page that shows it. Only use pictures the person may use. If a link is refused, try another direct image link. If you cannot supply the image or sound, tell the person to add it in the existing Rondilo editor. Local paths are not files. A shared quiz accepts one suggestion at a time. Give the host its review link and wait for approval before attaching another file.
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": {
"operationId": "<operationId>",
"quizId": "<quizId>",
"slideId": "<slideId>",
"baseRevision": "<baseRevision>",
"kind": "<kind>"
},
"name": "attach_quiz_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| quizId | Yes | ||
| library | No | Use personal for My quizzes, or organization when the user asks for their organization library. Omitting the library selects personal. | |
| slideId | Yes | ||
| imageUrl | No | A direct https link to a picture file. Pictures only. | |
| bytesBase64 | No | ||
| operationId | Yes | One UUID per attachment. Reuse for retries. | |
| baseRevision | Yes |