x_search
Search public X posts or users by query, using sort, scope, limit, and cursor for paginated results.
Instructions
Search public X posts or users. Prefer small pages; results are not exhaustive. Continue with identical query and cursor.
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": {
"query": "<query>"
},
"name": "x_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | latest | |
| limit | No | ||
| query | Yes | ||
| scope | No | posts | |
| cursor | No | ||
| detail | No | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No | ||
| page | No | ||
| error | No | ||
| items | No | ||
| result_id | No |