search_by_category
Filter and search Dutch parliamentary documents by specific categories (questions, motions, or all types) using advanced query syntax. Retrieve structured JSON results sorted by date for targeted research.
Instructions
Performs a search specifically for documents of a certain category, such as questions, motions, or letters. The response contains a structured JSON object with paginated results and metadata. Use this tool when a user wants to find documents of a specific type that match certain keywords or when they need more targeted search results than the general search provides. The 'category' parameter lets you filter by document type: 'vragen' for parliamentary questions, 'moties' for motions, or 'alles' for all document types. The search syntax supports advanced queries: 'Joe Biden' finds documents with both terms anywhere, '"Joe Biden"' (with quotes) finds exact phrases, 'Hubert NOT Bruls' finds documents with 'Hubert' but not 'Bruls' (capital NOT is required), and you can use 'OR' for alternatives. Results are sorted by date with the most recent documents first. This tool is particularly useful for finding specific types of parliamentary documents on a given topic.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
category | Yes | Document category: 'vragen' for questions, 'moties' for motions, 'alles' for all document types | |
limit | No | Maximum number of results to return per page (default: 20, max: 100) | |
page | No | Page number for paginated results (default: 1) | |
query | Yes | Search term - any keyword, name, policy area, or quote you want to find in parliamentary records |