Skip to main content

read_tweet

Reads a tweet/post from X (Twitter) given a URL or numeric tweet ID. Uses the FXTwitter API.

Accepted formats

All of these work as the tweet parameter:
  • 1800000000000000000 — numeric ID
  • https://x.com/user/status/1800000000000000000 — x.com URL
  • https://twitter.com/user/status/1800000000000000000 — twitter.com URL

Response fields

FieldTypeDescription
idstringTweet ID
textstringFull tweet text
authorstringDisplay name
handlestring@username
datestringISO timestamp
likesnumberLike count
retweetsnumberRetweet count
repliesnumberReply count
viewsnumberView count (may be null)
urlstringCanonical tweet URL
photosstring[]Photo URLs (if present)
videosstring[]Video URLs (if present)
quoteobjectQuoted tweet (if present): author, handle, text

Auto-reading from search results

When web_search returns results containing Twitter/X URLs, the gateway automatically calls read_tweet on up to 3 matching URLs without requiring an additional model round-trip.

find_music

Searches for music and returns YouTube links. The query is augmented with music youtube keywords to bias results toward music content.

Search strategy

  1. Firecrawl — searches with the augmented query, filters results for YouTube video IDs
  2. DuckDuckGo Lite — falls back to {query} site:youtube.com if Firecrawl returns no YouTube results

Response

Returns up to 5 tracks, each with:
FieldTypeDescription
titlestringVideo title (YouTube suffix stripped)
urlstringFull YouTube watch URL
video_idstringYouTube video ID
snippetstringDescription (from Firecrawl) or empty