search_within_teblig
Search within a specific Turkish communiqué (Tebliğ) by number using keyword or semantic queries. Supports Boolean operators (AND/OR/NOT) and natural language.
Instructions
Search within a specific communiqué's (Tebliğ) content using keyword or semantic search.
Tries article-based splitting first; if no articles found, falls back to chunk-based search.
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: "vergi AND muafiyet", '"katma değer"', "istisna OR muafiyet" Semantic examples: "vergi muafiyeti koşulları", "KDV iade işlemleri"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mevzuat_no | Yes | The communiqué number to search within (e.g., '42331') | |
| keyword | Yes | Search query. For keyword mode: supports AND/OR/NOT operators (uppercase). For semantic mode: use natural language. | |
| mevzuat_tertip | No | Communiqué 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 |