play_script
Play a presentation on the avatar page: the page speaks each sentence in the chosen voice and moves the avatar on its own clock (poses, head moves, camera moves, captions, slides), so call nothing else while it plays. Use it when the user says "Play ", for example "Play CourseShelf" plays courseshelf. The name is a built-in script (courseshelf (CourseShelf in ten sentences); front-door-test (Quick test: the GoldSeam front door)) or a presentation in the page's own folder (list_presentations names them).
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": {
"conversation": "<conversation>",
"name": "<name>"
},
"name": "play_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The script or presentation to play. | |
| conversation | Yes | The conversation token open_avatar returned. |