App Logo

Official scripts

Explore our curated collection of scripts

threads.com

Threads whoami (signed-in account)

Report which Threads account this browser is signed in as: the user id and @username. When the browser is signed out of Threads, the run fails with a signed-out error asking you to sign in to threads.com.

threads.com

Get Threads profile

Fetch a Threads user's profile: display name, bio, avatar, website, topic tags, and follower count.

threads.com

Search Threads posts

Search Threads for posts matching a keyword, hashtag, or topic and return the matching posts with author, text, and engagement counts.

threads.com

Delete Threads post

Delete a post or reply owned by the logged-in Threads account.

threads.com

Like a Threads post

Like a post on Threads by its URL, as the signed-in account. Reports whether the post was already liked so a repeat run does not double-count.

threads.com

Create Threads post

Publish a new text post (thread) to Threads from the logged-in account.

threads.com

Reply to Threads post

Publish a text reply to a specific Threads post from the logged-in account.

threads.com

Get Threads user posts

Fetch the posts on a Threads user's profile timeline, with text and engagement counts.

threads.com

Follow a Threads account

Follow a Threads account by username, as the signed-in account. Reports whether the account was already followed so a repeat run does not toggle it off.

perplexity.ai

List Perplexity chats

List your recent Perplexity threads (most recent first), as shown in the account's sidebar.

reddit.com

Get Reddit subreddit threads

List a subreddit's threads by Reddit's native sort (best/hot/new/top/rising). "new" is chronological (filter with `since`); "top" takes a `time` window (hour…all); others paginate by `limit`. Returns url, title, author, score, num_comments, created, post_type, and body — the post's full text (never truncated; null for link/image posts). `limit` is a maximum, not a guarantee: fewer matching threads returns what exists.

linkedin.com

Get LinkedIn post comments

Get the comments of a LinkedIn post by permalink, loading up to maxComments top-level threads. Returns total and comments (urn, name, headline, profileUrl, postedAgo, text, reactions, nested replies, hasMoreReplies). The default 'relevant' sort hides low-engagement comments - use 'recent' to reach every comment; older replies behind 'See previous replies' stay unloaded (flagged by hasMoreReplies).

reddit.com

Get trending Reddit posts

List Reddit's trending threads from r/popular, one page at a time, with optional sort. Returns id, url, title, subreddit, author, score, comment count, date, post type and the post's text per thread. Each call returns one page as Reddit serves it (the first page can be short, a few threads) and a nextCursor: pass it as cursor, with the same sort, for the next page; it is null when the feed has no more.

x.com

Post an X (Twitter) thread from an AI agent

Post a thread (tweetstorm) of N linked tweets in one go via the native multi-post composer. Returns the posted tweets in order with their ids/urls and the thread's root url.

discord.com

List Discord forum posts

List the posts (threads) in a Discord forum channel, newest first, optionally only those matching a search text, as the forum's own search box finds them. Use this instead of read_messages, which forum channels don't support; pass a returned post's url to read_messages to read its replies. Returns per post: threadId, name, url, createdAt, authorName, messageCount (Discord's reply count, excluding the opening post), openingMessage and tagNames. Does not return user ids, tag ids, or archived/locked/pinned state.

reddit.com

Search Reddit threads in a subreddit, with post text

Search one subreddit for a query and get one page of matching threads in Reddit's order, each with title, subreddit, permalink, upvotes, comment count, creation time, flair and the post's full text. Sort and time window are configurable; pass the returned after value to read the next page (null on the last one). Requires being signed in to Reddit. A subreddit that refuses the search (private, banned) fails with its HTTP status. To search several subreddits or queries, run the script once per pair.

linkedin.com

Sales Navigator – Get conversation thread

Fetch a full LinkedIn Sales Navigator conversation thread by its threadId (from get_inbox), pulling up to messageCount messages. Returns the counterpart participant(s), totalMessageCount, whether it was truncated, and every message in chronological order (oldest first) with body, subject (for InMails), whether it is a regular message or an InMail, deliveredAt, lastEditedAt, attachments, and direction (sent/received). A 1:1 thread has one counterpart, group threads list all; if returnedCount is below totalMessageCount, raise messageCount. Needs a Sales Navigator seat.

reddit.com

Submit Reddit post

Create a text post (thread) in a subreddit. Returns the new post's ID, subreddit and URL. Posts a real thread under the logged-in account; text posts only (no link/image); some subreddits require a flair and will block the post. Runs only via the browser extension, not the hosted cloud browser.

reddit.com

Get Reddit chat inbox

List the conversations in your Reddit chat inbox (DMs), newest activity first: room id + url, name, chat type, your membership (invite = a chat request you have not accepted), unread count, the other members, and the last message with its direction and real timestamp. Returns the whole inbox, not only what's currently visible on screen. Threads are a separate surface and are not listed. Runs only via the browser extension, not the hosted cloud browser.

linkedin.com

Get LinkedIn newsletter edition comments

Get the comments of a LinkedIn newsletter edition by permalink, loading up to maxComments top-level threads and each commenter's profile. Returns total and comments (urn, name, headline, profileUrl, postedAgo, text, reactions, nested replies, hasMoreReplies). The default 'relevant' sort hides low-engagement comments - use 'recent' to reach every comment; older replies behind 'See previous replies' stay unloaded (flagged by hasMoreReplies).

mail.google.com

Get Gmail thread

Read a Gmail thread by its hex threadId (as returned by search_emails): subject plus every rendered message's from, fromEmail, to, date, plain-text body and attachment names. In long threads Gmail collapses older messages, so only rendered (expanded) messages are returned.

perplexity.ai

Search Perplexity chats

Search your Perplexity thread history by keyword, via the Sessions library's search box.

linkedin.com

Get LinkedIn post

Fetch a single LinkedIn post by its permalink. Returns url, urn, text, media, author (name, headline, url, type), postedAgo, reactions, comments, and reposts. If the URL has no post behind it — deleted, removed, or a wrong id — it says so straight away instead of stalling. Use get_post_comments for the thread and get_post_reactors for who reacted.

x.com

Read your X (Twitter) For You timeline

Get tweets from your personal For You home feed — the timeline as shown: top-level posts plus the replies and quote-tweets X threads in. Returns per tweet: id, url, author {id, handle, name}, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus ref objects quoted_tweet/in_reply_to (each {id, author_handle}, null when N/A). For a repost, the tweet is the reposted original as X shows it: id, author, text and counts are the original's, is_retweet is true, and reposted_by/reposted_at say who reposted it and when. in_reply_to != null is the reply test. Count is capped by how far the feed paginates before throttling. When the browser is signed out of X, the run fails with a signed-out error asking you to sign in to x.com.

tiktok.com

Read a TikTok direct message conversation

Read the messages in one of the signed-in account's direct message threads, addressed either by the other person's @username or by the conversation id the inbox script returns. Messages come back oldest to newest with the timestamp labels TikTok shows between them, and system notices in the thread (such as a message request being accepted) are marked as notices rather than passed off as messages. Opening a thread marks it as read, which is what the site does too. Pairs with the inbox script, which lists the threads.