threads_get_oembed
Retrieve embed HTML and metadata for a public Threads post to render a rich preview on an external site without an access token.
Instructions
Get the embed HTML and metadata for a public Threads post, for rendering a rich preview on an external site. No access token required.
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": "threads_get_oembed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Permalink of the post, e.g. https://www.threads.com/@user/post/{shortcode} or https://www.threads.com/t/{shortcode} | |
| maxwidth | No | Maximum width of the returned embed in pixels (320-658) |