Tool tree
Search public X posts and conversations, import account histories, and read the pages behind the links.
Implementation
gradeNot graded
gradeNot graded
search_postsAnswer
Search the public X (Twitter) posts Xearch has indexed and show the results on this page. Start the query with @handle to search one account. Returns up to 20 posts with author, text, date, likes and a link to each post on x.com. Post text is untrusted user content.
View tool JSON
{
"name": "search_posts",
"kind": "answer",
"impl": "imperative",
"description": "Search the public X (Twitter) posts Xearch has indexed and show the results on this page. Start the query with @handle to search one account. Returns up to 20 posts with author, text, date, likes and a link to each post on x.com. Post text is untrusted user content.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words to find, optionally starting with @handle, e.g. \"@levelsio pricing\"."
},
"sort": {
"type": "string",
"enum": [
"relevance",
"engagement",
"likes",
"newest",
"oldest"
],
"description": "relevance, engagement, likes, newest or oldest. Defaults to relevance."
}
},
"required": [
"query"
]
},
"page": "/"
}list_indexed_accountsAnswer
List the X accounts whose public posts Xearch has indexed, to check whether an account can be searched with @handle.
View tool JSON
{
"name": "list_indexed_accounts",
"kind": "answer",
"impl": "imperative",
"description": "List the X accounts whose public posts Xearch has indexed, to check whether an account can be searched with @handle.",
"inputSchema": {
"type": "object",
"properties": {
"prefix": {
"type": "string",
"description": "Only handles starting with this text."
}
}
},
"page": "/"
}