Search stream posts
search_stream_postsSearch full post text within one accessible stream, newest first. Supports ISO date bounds; custom-target restrictions apply. Continue with nextOffset; this differs from opaque history tokens. Use get_stream_posts to page by date without a text query; the search tool finds streams, not posts.
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": {
"streamId": "<streamId>",
"text": "<text>"
},
"name": "search_stream_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Words to find in post text; every word must match. Supports "exact phrase", -word to exclude, a | b for either, and prefix*. | |
| limit | No | Maximum number of posts in this page. | |
| offset | No | Matches to skip: 0 for the first page, then nextOffset from the previous page. | |
| toDate | No | Latest post creation time to include, ISO 8601 with a timezone offset; not before fromDate. | |
| fromDate | No | Earliest post creation time to include, ISO 8601 with a timezone offset. | |
| streamId | Yes | ID of a stream whose posts you can read, such as one you own or follow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| nextOffset | No |