get_mevzuat_madde_tree
Retrieves the hierarchical table of contents of a Turkish legislation by its ID, showing chapters and articles. Use this to understand the structure of a law before accessing specific articles.
Instructions
Get the article tree (table of contents / içindekiler) of a Turkish legislation from bedesten.adalet.gov.tr.
Returns a hierarchical structure showing:
Bölüm/Kısım (chapters/parts) as parent nodes
Madde (articles) as leaf nodes with maddeId, number, and title
Each node may have a gerekceId for article-level rationale
Works well with: KANUN, CB_KARARNAME, KHK, TUZUK, MULGA. May return empty for: CB_KARAR, CB_GENELGE, TEBLIGLER (these often lack structured articles).
Use this to understand the structure of a large law before diving into specific articles with search_within_mevzuat or get_mevzuat_content.
Workflow: search_mevzuat → get mevzuatId → get_mevzuat_madde_tree(mevzuatId)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mevzuat_id | Yes | Legislation ID from search_mevzuat results (mevzuatId field). This is a string ID (e.g., '345097'), NOT the law number. First call search_mevzuat to get the mevzuatId. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |