search_articles
Find Local News Matters articles by keyword, then filter results by date, category, tag, or author. Browse recent stories when no query is given.
Instructions
Search Local News Matters articles.
Args: query: Full-text search terms. Leave empty to browse the most recent articles. page: 1-based page number for paging through results. per_page: Results per page (1-100). category_ids: Restrict to these category IDs (see list_categories). tag_ids: Restrict to these tag IDs (see list_tags). author_id: Restrict to a single author (see list_authors). after: ISO-8601 date; only articles published on/after it (e.g. "2024-01-01T00:00:00"). before: ISO-8601 date; only articles published on/before it. response_format: "json" (default) for raw data, or "markdown" for readable text.
Returns results (article summaries) plus total, total_pages, page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| after | No | ||
| query | No | ||
| before | No | ||
| tag_ids | No | ||
| per_page | No | ||
| author_id | No | ||
| category_ids | No | ||
| response_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |