Look up a video
lookup_mediaRead a YouTube, Vimeo, or Loom link to fetch its title, author, and stored poster for video notes, so browsers contact the video host only on play.
Instructions
Read a YouTube, Vimeo or Loom link: its title, author and a stored poster, ready for a video note.
Video info. Read a YouTube, Vimeo or Loom address: the video's host, id, canonical address, start time, title and author, and its poster picture stored in this app (so people's browsers reach the video host only when they press play). Pass the answer as media in an add_nodes operation (count 1), or call slates.addMedia to look up and add in one step. When the host shares no title or picture the video still comes back, with a notice. Any other address is refused with 400 not_a_video. At most 60 new videos per person per hour.
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": {
"url": "<url>"
},
"name": "lookup_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The video's address: a YouTube, Vimeo or Loom link. | |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |