search_x
ActiveTool of SimpleFunctions
declared in 1.0.0
Search X/Twitter for social sentiment on any topic. Returns posts sorted by engagement. Not available via web search — uses X API directly.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"apiKey"
],
"properties": {
"mode": {
"enum": [
"raw",
"summary"
],
"type": "string",
"default": "raw",
"description": "raw = structured JSON, summary = LLM synthesis"
},
"hours": {
"type": "number",
"default": 24,
"description": "Hours to search back (default 24)"
},
"limit": {
"type": "number",
"default": 20,
"description": "Max posts to return (default 20)"
},
"query": {
"type": "string",
"description": "Search query (e.g. \"iran oil\", \"hormuz shipping\")"
},
"apiKey": {
"type": "string",
"description": "SimpleFunctions API key. Get one at https://simplefunctions.dev/dashboard/keys"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
SimpleFunctions
https://github.com/spfunctions/simplefunctions-cli
2/7 registries