Add a video note
add_media_noteAdd a YouTube, Vimeo or Loom video to a slate as an inline note with poster and play button. Place it at set coordinates or let it sit beside existing notes.
Instructions
Add a YouTube, Vimeo or Loom video to a slate as a note that shows its poster and plays in place when pressed.
Add video. Add a video note to a slate from a YouTube, Vimeo or Loom address: the poster (stored in this app), a play button, and the title and host. It plays where it sits when someone presses play, never on its own, and plays inline in presentations. x and y place its top-left corner (320 by 180); without them it goes beside the slate's notes. One save, like slates.applyOperations; mode "preview" stores nothing. Added by an agent, the note is a live suggestion (202, outcome "suggested") for people on the slate to keep or discard, unless a person lets that agent edit directly.
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": {
"shareId": "<shareId>",
"url": "<url>"
},
"name": "add_media_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | The note's left edge, in canvas units. Send with y. | |
| y | No | The note's top edge, in canvas units. Send with x. | |
| url | Yes | The video's address: a YouTube, Vimeo or Loom link. | |
| mode | No | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. | save |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| shareId | Yes | The slate ID from its address: /canvas/<shareId>. | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |