get_keyword_results
Retrieve posts from an existing Telegram keyword search by run_id, waiting up to 45 seconds for completion; call again with the same run_id while the search is still running.
Instructions
Get the posts found by a search started with start_keyword_search. Step 2 of 2. Reading results is free; it never starts a new search.
Waits up to wait_secs for the search to finish. Returns {"finished", "status", "posts",
"message"}. If "finished" is false the search is still running and "posts" is empty:
call get_keyword_results again with the same run_id (do not start a new search).
Args:
run_id: the run_id returned by start_keyword_search.
wait_secs: how long to wait for the search to finish, 0-45 seconds.
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": {
"run_id": "<run_id>"
},
"name": "get_keyword_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| wait_secs | No |