List stories
list_storiesRetrieve news stories matching a Boolean query within a date range, filtered by source or collection. Use pagination tokens to page through results.
Instructions
List stories matching a query: ID, title, URL, publication date, language and source.
Repeat with pagination_token to get more. next_page_token is null on the last page.
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>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "list_stories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Boolean query, e.g. "climate change" AND policy. AND/OR/NOT must be capitalized and phrases need double quotes. Use * to match all stories. Full syntax is in the mediacloud://query-guide resource. | |
| end_date | Yes | Last publication date, YYYY-MM-DD. | |
| page_size | No | Stories per page. | |
| randomized | No | Return stories in random order. | |
| sort_order | No | Order by publication date. | |
| source_ids | No | Media sources to search. Find IDs with search_sources. | |
| start_date | Yes | First publication date, YYYY-MM-DD. | |
| include_text | No | Include full text. Only works for accounts with elevated access. | |
| collection_ids | No | Collections to search. Find IDs with search_collections. | |
| pagination_token | No | next_page_token from the previous page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||