search_within_cbgenelge
Search within a Presidential Circular (CB Genelgesi) using keyword or semantic query. Provide the official gazette date from prior search results.
Instructions
Search within a specific Presidential Circular's (CB Genelgesi) content using keyword or semantic search.
Presidential Circulars are PDF-based and use chunk-based splitting (no article structure). IMPORTANT: resmi_gazete_tarihi is required (from search_cbgenelge results).
Modes:
semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)
semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)
Keyword examples: "koordinasyon AND toplantı", '"kamu yönetimi"' Semantic examples: "bakanlıklar arası koordinasyon düzeni", "tasarruf tedbirleri"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mevzuat_no | Yes | The Presidential Circular number to search within (e.g., '16', '15') | |
| keyword | Yes | Search query. For keyword mode: supports AND/OR/NOT operators (uppercase). For semantic mode: use natural language. | |
| resmi_gazete_tarihi | Yes | Official Gazette date from search results in DD/MM/YYYY format (e.g., '20/09/2025') - REQUIRED for PDF retrieval | |
| mevzuat_tertip | No | Circular series from search results (e.g., '5') | 5 |
| case_sensitive | No | Whether to match case when searching (default: False). Only used in keyword mode. | |
| max_results | No | Maximum number of matching segments to return (1-50, default: 25) | |
| semantic | No | True: semantic search (natural language query, requires OPENROUTER_API_KEY). False: keyword search (Boolean operators AND/OR/NOT). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |