yoto_template_book_selector
Builds a choose-a-book interactive card from a multi-book source card, generating spoken prompts and a plan that lets listeners pick a book and play it with the following titles.
Instructions
Build a "choose a book" interactive card from a linear multi-book card, as a plan.
Right cycles the books' prompts, left picks one: it announces " Book N: "
and plays that book and the ones after it. Left/right step tracks while a book plays.
Generates and uploads the spoken prompts (only the upload writes anything). subtitles maps
book number to subtitle. target is the card to rebuild (default: the existing
" (Choose a Book)" if there is one, else a new card). Use the source card's owner account.
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": {
"source_card": "<source_card>"
},
"name": "yoto_template_book_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| voice | No | ||
| target | No | ||
| account | No | ||
| pattern | No | ^Book (\d+)\b | |
| subtitles | No | ||
| prompt_text | No | For book {n}, click left dial. For other books, click right dial. | |
| source_card | Yes | ||
| prompt_icons | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||