Update mcp_server_main.py

This commit is contained in:
saidsurucu
2025-06-27 05:28:54 +03:00
parent a8b45a7b1c
commit 425e2a4247
+8 -8
View File
@@ -815,30 +815,30 @@ async def search_anayasa_norm_denetimi_decisions(
keywords_all: List[str] = Field(default_factory=list, description="Keywords for AND logic."),
keywords_any: List[str] = Field(default_factory=list, description="Keywords for OR logic."),
keywords_exclude: List[str] = Field(default_factory=list, description="Keywords to exclude."),
period: Literal["", "1", "2"] = Field("", description="Constitutional period ('': All, '1': 1961, '2': 1982)."),
period: Literal["ALL", "1", "2"] = Field("ALL", description="Constitutional period ('ALL': All, '1': 1961, '2': 1982)."),
case_number_esas: Optional[str] = Field(None, description="Case registry number (e.g., '2023/123')."),
decision_number_karar: Optional[str] = Field(None, description="Decision number (e.g., '2023/456')."),
first_review_date_start: Optional[str] = Field(None, description="First review start date (DD/MM/YYYY)."),
first_review_date_end: Optional[str] = Field(None, description="First review end date (DD/MM/YYYY)."),
decision_date_start: Optional[str] = Field(None, description="Decision start date (DD/MM/YYYY)."),
decision_date_end: Optional[str] = Field(None, description="Decision end date (DD/MM/YYYY)."),
application_type: Literal["", "1", "2", "3"] = Field("", description="Application type ('': All, '1': İptal, '2': İtiraz, '3': Diğer)."),
application_type: Literal["ALL", "1", "2", "3"] = Field("ALL", description="Application type ('ALL': All, '1': İptal, '2': İtiraz, '3': Diğer)."),
applicant_general_name: Optional[str] = Field(None, description="General applicant name."),
applicant_specific_name: Optional[str] = Field(None, description="Specific applicant name."),
official_gazette_date_start: Optional[str] = Field(None, description="Official Gazette start date (DD/MM/YYYY)."),
official_gazette_date_end: Optional[str] = Field(None, description="Official Gazette end date (DD/MM/YYYY)."),
official_gazette_number_start: Optional[str] = Field(None, description="Official Gazette starting number."),
official_gazette_number_end: Optional[str] = Field(None, description="Official Gazette ending number."),
has_press_release: Literal["", "0", "1"] = Field("", description="Press release ('': All, '0': No, '1': Yes)."),
has_dissenting_opinion: Literal["", "0", "1"] = Field("", description="Dissenting opinion ('': All, '0': No, '1': Yes)."),
has_different_reasoning: Literal["", "0", "1"] = Field("", description="Different reasoning ('': All, '0': No, '1': Yes)."),
has_press_release: Literal["ALL", "0", "1"] = Field("ALL", description="Press release ('ALL': All, '0': No, '1': Yes)."),
has_dissenting_opinion: Literal["ALL", "0", "1"] = Field("ALL", description="Dissenting opinion ('ALL': All, '0': No, '1': Yes)."),
has_different_reasoning: Literal["ALL", "0", "1"] = Field("ALL", description="Different reasoning ('ALL': All, '0': No, '1': Yes)."),
attending_members_names: List[str] = Field(default_factory=list, description="List of attending members' exact names."),
rapporteur_name: Optional[str] = Field(None, description="Rapporteur's exact name."),
norm_type: Literal["", "1", "2", "14", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "0", "13"] = Field("", description="Type of reviewed norm."),
norm_type: Literal["ALL", "1", "2", "14", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "0", "13"] = Field("ALL", description="Type of reviewed norm."),
norm_id_or_name: Optional[str] = Field(None, description="Number or name of the norm."),
norm_article: Optional[str] = Field(None, description="Article number of the norm."),
review_outcomes: List[Literal["", "1", "2", "3", "4", "5", "6", "7", "8", "12"]] = Field(default_factory=list, description="List of review outcomes."),
reason_for_final_outcome: Literal["", "29", "1", "2", "30", "3", "4", "27", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26"] = Field("", description="Main reason for decision outcome."),
review_outcomes: List[Literal["ALL", "1", "2", "3", "4", "5", "6", "7", "8", "12"]] = Field(default_factory=list, description="List of review outcomes."),
reason_for_final_outcome: Literal["ALL", "29", "1", "2", "30", "3", "4", "27", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26"] = Field("ALL", description="Main reason for decision outcome."),
basis_constitution_article_numbers: List[str] = Field(default_factory=list, description="List of supporting Constitution article numbers."),
results_per_page: int = Field(10, description="Results per page (10, 20, 30, 40, 50)."),
page_to_fetch: int = Field(1, ge=1, description="Page number to fetch."),