search_kanun
Find Turkish laws (Kanun) on mevzuat.gov.tr by searching keywords in titles and content. Supports Boolean operators, exact phrase matching, and date range filtering.
Instructions
Search for Turkish laws (Kanun) in both titles and content on mevzuat.gov.tr.
IMPORTANT: Search is keyword-based, NOT by law number. Use descriptive Turkish terms.
WRONG: "3065" or "6362" (numbers won't find laws reliably)
RIGHT: "katma değer vergisi" (finds KDV Kanunu No. 3065)
RIGHT: "sermaye piyasası" (finds Sermaye Piyasası Kanunu No. 6362)
RIGHT: "gümrük kanunu" (finds Gümrük Kanunu No. 4458)
RIGHT: "gelir vergisi" (finds Gelir Vergisi Kanunu No. 193)
RIGHT: "ceza muhakemesi" (finds CMK No. 5271)
RIGHT: "vergi usul" (finds VUK No. 213)
Use 'search_within_kanun' to search within a specific law's articles after finding its number.
Query Syntax:
Simple keyword: yatırımcı
Boolean AND: yatırımcı AND tazmin (both terms required)
Boolean OR: yatırımcı OR müşteri (at least one term)
Boolean NOT: yatırımcı NOT kurum (first yes, second no)
Required term: +yatırımcı +tazmin (similar to AND)
Grouping: (yatırımcı OR müşteri) AND tazmin
Exact phrase: "mali sıkıntı" (or use tam_cumle=true)
Returns: Law number, title, acceptance date, Official Gazette date and issue number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aranacak_ifade | Yes | Search query with optional Boolean operators: simple word (yatırımcı), AND (yatırımcı AND tazmin), OR (vergi OR ücret), NOT (yatırımcı NOT kurum), + for required (+term), grouping with (), exact phrase with quotes ("mali sıkıntı") | |
| tam_cumle | No | Exact phrase match (true) or any word match (false, default). Set to true when searching for exact phrases like 'mali sıkıntı'. | |
| baslangic_tarihi | No | Start date for filtering results (format: DD.MM.YYYY, e.g., '01.01.2020') | |
| bitis_tarihi | No | End date for filtering results (format: DD.MM.YYYY, e.g., '31.12.2024') | |
| page_number | No | Page number for pagination (starts at 1) | |
| aranacak_yer | No | Where to search: 1=Title only, 2=Content only, 3=Both title and content (default) | |
| page_size | No | Number of results per page (1-100) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documents | Yes | ||
| total_results | Yes | ||
| current_page | Yes | ||
| page_size | Yes | ||
| total_pages | Yes | ||
| query_used | Yes | ||
| error_message | No |