{"at":"2026-11-23T04:20:38.133Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:20:38.537Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:20:38.638Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:20:39.059Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true},"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"parsi-mcp","version":"0.3.0"}}}}
{"at":"2026-11-23T04:20:39.059Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:20:39.059Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:20:39.066Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Convert a Gregorian date to the Jalali (Persian) calendar.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"day":{"maximum":31,"minimum":1,"type":"integer"},"month":{"maximum":12,"minimum":1,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},"name":"gregorian_to_jalali"},{"description":"Convert a Jalali (Persian) date to the Gregorian calendar.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"day":{"maximum":31,"minimum":1,"type":"integer"},"month":{"maximum":12,"minimum":1,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},"name":"jalali_to_gregorian"},{"description":"Leap-year status and month length for a Jalali year.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"month":{"maximum":12,"minimum":1,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year"],"type":"object"},"name":"jalali_year_info"},{"description":"Validate an Iranian national ID (code melli) using its checksum.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"validate_national_id"},{"description":"Validate a 16-digit Iranian bank card number (Luhn).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"validate_card_number"},{"description":"Validate an Iranian Sheba (IBAN) number.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"validate_sheba"},{"description":"Validate and normalize an Iranian mobile number to 09xxxxxxxxx.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"normalize_mobile"},{"description":"Normalize Arabic letter variants to Persian, clean spacing, and convert digits to Persian.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"name":"normalize_persian_text"},{"description":"Convert any digits in a string to Persian digits.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"name":"to_persian_digits"},{"description":"Write a non-negative integer in Persian words, e.g. for invoices.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"value":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["value"],"type":"object"},"name":"number_to_persian_words"},{"description":"Convert between rial and toman (1 toman = 10 rial).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"amount":{"type":"number"},"from":{"enum":["rial","toman"],"type":"string"},"to":{"enum":["rial","toman"],"type":"string"}},"required":["amount","from","to"],"type":"object"},"name":"convert_rial_toman"},{"description":"Identify the Iranian bank from a card number (first 6 digits / BIN).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"card":{"type":"string"}},"required":["card"],"type":"object"},"name":"bank_from_card"},{"description":"Identify the Iranian bank from a Sheba (IBAN) number (3-digit bank code).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"sheba":{"type":"string"}},"required":["sheba"],"type":"object"},"name":"bank_from_sheba"},{"description":"Detect the mobile operator (MCI/Irancell/Rightel) of an Iranian mobile number.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"mobile_operator"},{"description":"Find the province of an Iranian landline number from its area code.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"landline_province"},{"description":"Validate an Iranian 10-digit postal code.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"validate_postal_code"},{"description":"Convert Persian number words to a number, e.g. 'دویست و پنجاه هزار' -> 250000.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"name":"persian_words_to_number"},{"description":"Format a Jalali date. Tokens: YYYY YY MMMM MM M DD D dddd.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"day":{"maximum":31,"minimum":1,"type":"integer"},"month":{"maximum":12,"minimum":1,"type":"integer"},"pattern":{"type":"string"},"persianDigits":{"type":"boolean"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},"name":"format_jalali_date"},{"description":"Parse text like '1403/05/09', '۱۴۰۳-۵-۹' or '9 مرداد 1403' into a Jalali date.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"name":"parse_jalali_date"},{"description":"Add days, months and/or years to a Jalali date (month overflow clamps to month length).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"day":{"maximum":31,"minimum":1,"type":"integer"},"days":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"month":{"maximum":12,"minimum":1,"type":"integer"},"months":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"years":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},"name":"jalali_add"},{"description":"Days between two Jalali dates plus a Persian relative description.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"from":{"properties":{"day":{"maximum":31,"minimum":1,"type":"integer"},"month":{"maximum":12,"minimum":1,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},"to":{"properties":{"day":{"maximum":31,"minimum":1,"type":"integer"},"month":{"maximum":12,"minimum":1,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"}},"required":["from","to"],"type":"object"},"name":"jalali_diff"},{"description":"Create a URL slug from Persian/Latin text.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"separator":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"name":"slugify_persian"},{"description":"Fix ZWNJ (half-space) for می/نمی and plural suffixes, Persian punctuation and spacing, Arabic letter variants.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"name":"sanitize_persian_text"},{"description":"VAT helper. Rate (percent) must be supplied. mode 'exclusive' = amount excludes tax, 'inclusive' = amount includes tax.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"amount":{"type":"number"},"mode":{"enum":["exclusive","inclusive"],"type":"string"},"ratePercent":{"type":"number"}},"required":["amount","ratePercent","mode"],"type":"object"},"name":"calculate_vat"},{"description":"Group digits in threes (200000 -> 200,000 or ۲۰۰٬۰۰۰). Accepts Persian/Arabic digits.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"digits":{"enum":["ascii","persian"],"type":"string"},"separator":{"enum":[",","٬"],"type":"string"},"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"format_number_grouped"},{"description":"Strip separators and Persian/Arabic digits to a clean number, e.g. '۲۰۰٬۰۰۰' -> '200000'.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"name":"parse_grouped_number"},{"description":"Amount in Persian words with unit, e.g. 200000 toman -> 'دویست هزار تومان'. Toman may have one decimal digit (tenths = rials).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"amount":{"type":"string"},"unit":{"enum":["toman","rial"],"type":"string"}},"required":["amount"],"type":"object"},"name":"price_to_persian_words"},{"description":"Ready-to-use RTL-friendly price input code: digit grouping while typing with caret preserved, live Persian words (aria-live), raw value submission. variant 'core' returns the shared helpers.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"variant":{"enum":["react","vue","vanilla","core"],"type":"string"}},"required":["variant"],"type":"object"},"name":"price_input_snippet"},{"description":"Full RTL frontend guidelines for Persian/Arabic UIs (also available as prompt and resource 'rtl-frontend-guidelines').","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"rtl_guidelines"},{"description":"Scan CSS/HTML/JSX/Tailwind text for LTR-only patterns (margin-left, ml-4, text-align:left, float:left, left/right, forced ltr, directional icons...) and suggest logical replacements.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"name":"rtl_audit_css"},{"description":"Convert physical CSS (and React style objects) to logical properties.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"css":{"type":"string"}},"required":["css"],"type":"object"},"name":"rtl_convert_css"},{"description":"Convert Tailwind physical utilities to logical ones (ml-4 -> ms-4, pr-2 -> pe-2, text-left -> text-start).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"name":"rtl_convert_tailwind"},{"description":"Minimal RTL-ready setup for html, css, tailwind, nextjs, react or vue.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"framework":{"enum":["html","css","tailwind","nextjs","react","vue"],"type":"string"}},"required":["framework"],"type":"object"},"name":"rtl_starter_snippet"},{"description":"Persian relative time like '۳ روز پیش' or '۲ ساعت دیگر'. Pass an ISO timestamp; 'now' defaults to the current time. Months = 30 days, years = 365 days.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"now":{"type":"string"},"persianDigits":{"type":"boolean"},"timestamp":{"type":"string"}},"required":["timestamp"],"type":"object"},"name":"persian_relative_time"},{"description":"Calendar grid for a Jalali month (for date-pickers): weeks of 7 cells with day number, Gregorian date and Friday flag; null cells pad the edges. Default week starts Saturday.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"month":{"maximum":12,"minimum":1,"type":"integer"},"weekStart":{"enum":["saturday","sunday","monday"],"type":"string"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month"],"type":"object"},"name":"jalali_month_grid"},{"description":"Start/end (Jalali and Gregorian) of the Jalali day, week (Saturday-Friday), month, quarter (season) or year containing a date. Use for reports and finance periods instead of Gregorian date libraries.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"date":{"properties":{"day":{"maximum":31,"minimum":1,"type":"integer"},"month":{"maximum":12,"minimum":1,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},"period":{"enum":["day","week","month","quarter","year"],"type":"string"}},"required":["date","period"],"type":"object"},"name":"jalali_period_range"},{"description":"Persian ordinal words: 3 -> سوم, 21 -> بیست و یکم, 30 -> سی‌ام. 1 gives اول (set firstAsYekom for یکم).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"firstAsYekom":{"type":"boolean"},"value":{"maximum":999999999,"minimum":0,"type":"integer"}},"required":["value"],"type":"object"},"name":"persian_ordinal"},{"description":"Fuzzy-match a query against candidate strings, treating Arabic/Persian letter variants (ي/ی, ك/ک, آ/ا), diacritics, ZWNJ and digit styles as equal. Returns ranked matches with scores.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"candidates":{"items":{"type":"string"},"maxItems":5000,"type":"array"},"limit":{"maximum":100,"minimum":1,"type":"integer"},"query":{"type":"string"},"threshold":{"maximum":1,"minimum":0,"type":"number"}},"required":["query","candidates"],"type":"object"},"name":"persian_fuzzy_search"},{"description":"Sort strings in Persian alphabetical order (ا ب پ ت ... ی). Digits first (numeric), then Persian, then Latin. Ignores ZWNJ and Arabic/Persian letter variants.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"items":{"items":{"type":"string"},"maxItems":10000,"type":"array"},"order":{"enum":["asc","desc"],"type":"string"}},"required":["items"],"type":"object"},"name":"persian_sort"},{"description":"Fix text typed with the wrong keyboard layout using the standard Iranian layout (ISIRI 9147): 'sghl' -> 'سلام', and Persian typed on English back to Latin. direction 'auto' picks by script.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"direction":{"enum":["auto","en-to-fa","fa-to-en"],"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"name":"fix_keyboard_layout"},{"description":"Validate an 11-digit Iranian legal-entity national ID (شناسه ملی شخص حقوقی / company ID) with its checksum.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"validate_legal_national_id"},{"description":"Build Excel/Sheets-safe CSV from rows: UTF-8 BOM, correct quoting, Persian digits in numeric cells converted to ASCII so Excel treats them as numbers, formula-injection guard, warnings for digit strings Excel may corrupt.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"bom":{"type":"boolean"},"delimiter":{"enum":[",",";","tab"],"type":"string"},"excelSafe":{"type":"boolean"},"rows":{"items":{"items":{"type":["string","number","boolean","null"]},"type":"array"},"maxItems":50000,"type":"array"}},"required":["rows"],"type":"object"},"name":"csv_export_safe"},{"description":"CSS for Persian fonts (vazirmatn, shabnam, sahel, iransans): import link, font stack with fallbacks, RTL base styles. IRANSans is commercial so no CDN is given.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"font":{"enum":["vazirmatn","shabnam","sahel","iransans"],"type":"string"},"selector":{"type":"string"}},"required":["font"],"type":"object"},"name":"persian_font_preset"},{"description":"List Iran's 31 provinces with ISO 3166-2 code, Persian/English names and capital. Optional query matches Persian or English names (letter-variant tolerant).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"query":{"type":"string"}},"type":"object"},"name":"iran_provinces"},{"description":"Character, letter, digit, ZWNJ, word, sentence and paragraph counts for Persian/mixed text, plus reading time. wordsPerMinute is an adjustable assumption (default 180).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"maxLength":1000000,"type":"string"},"wordsPerMinute":{"exclusiveMinimum":0,"maximum":2000,"type":"number"}},"required":["text"],"type":"object"},"name":"persian_text_stats"},{"description":"Detect text direction (first-strong and dominant script, mixed flag) and optionally wrap the text bidi-safely: Unicode isolates (FSI/RLI/LRI) or HTML <bdi> / dir=auto. Use for usernames, product names and mixed Persian/English strings.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"type":"string"},"wrap":{"enum":["isolate","rli","lri","html-bdi","html-dir-auto"],"type":"string"}},"required":["text"],"type":"object"},"name":"detect_text_direction"},{"description":"Truncate text to maxLength (ellipsis included) without breaking words, ZWNJ-joined words, surrogate pairs or diacritics. mode 'word' (default) or 'char'.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"ellipsis":{"maxLength":10,"type":"string"},"maxLength":{"maximum":100000,"minimum":1,"type":"integer"},"mode":{"enum":["word","char"],"type":"string"},"text":{"type":"string"}},"required":["text","maxLength"],"type":"object"},"name":"truncate_persian_text"},{"description":"Deterministic Persian placeholder text (seeded, original word list; not real prose) for mockups.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"paragraphs":{"maximum":50,"minimum":1,"type":"integer"},"seed":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"sentencesPerParagraph":{"maximum":30,"minimum":1,"type":"integer"},"wordsPerSentence":{"maximum":40,"minimum":3,"type":"integer"}},"type":"object"},"name":"persian_lorem_ipsum"},{"description":"Display formats for an Iranian mobile (0912 345 6789, +98 912 345 6789, E.164) or landline (021-12345678). Accepts Persian digits, +98, 0098.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"persianDigits":{"type":"boolean"},"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"format_iran_phone"},{"description":"Short Persian number form: 2500000 -> '۲٫۵ میلیون', 1200 -> '۱٫۲ هزار' (style 'latin' gives 2.5M). Optional unit like تومان.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"maxFraction":{"maximum":3,"minimum":0,"type":"integer"},"persianDigits":{"type":"boolean"},"style":{"enum":["persian","latin"],"type":"string"},"unit":{"maxLength":20,"type":"string"},"value":{"type":"number"}},"required":["value"],"type":"object"},"name":"format_short_number"},{"description":"Decimals, percents and fractions in Persian words: '12.5' -> 'دوازده ممیز پنج دهم', percent adds درصد, fraction '3/4' -> 'سه چهارم'.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"halfAsNim":{"type":"boolean"},"mode":{"enum":["decimal","percent","fraction"],"type":"string"},"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"decimal_to_persian_words"},{"description":"Age (years, months, days, total days) from a Jalali birth date. asOf defaults to today.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"asOf":{"anyOf":[{"properties":{"day":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"month":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},{"type":"string"}],"description":"Jalali date as {year,month,day} or text like '1405/07/24'"},"birth":{"anyOf":[{"properties":{"day":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"month":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},{"type":"string"}],"description":"Jalali date as {year,month,day} or text like '1405/07/24'"}},"required":["birth"],"type":"object"},"name":"jalali_age"},{"description":"Form validation for a Jalali date with readable reasons: month/day ranges (leap-aware), min, max and notFuture checks. Never throws.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"date":{"properties":{"day":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"month":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},"max":{"anyOf":[{"properties":{"day":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"month":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},{"type":"string"}],"description":"Jalali date as {year,month,day} or text like '1405/07/24'"},"min":{"anyOf":[{"properties":{"day":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"month":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},{"type":"string"}],"description":"Jalali date as {year,month,day} or text like '1405/07/24'"},"notFuture":{"type":"boolean"}},"required":["date"],"type":"object"},"name":"validate_jalali_date"},{"description":"Business-day helper: op 'is_business_day', 'add' (days may be negative) or 'count' (days after 'date' up to and including 'to'). Weekend is Friday (optionally Thursday too); supply holidays yourself or enable the fixed solar ones.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"date":{"anyOf":[{"properties":{"day":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"month":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},{"type":"string"}],"description":"Jalali date as {year,month,day} or text like '1405/07/24'"},"days":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"holidays":{"description":"Extra Jalali holiday dates you supply, e.g. '1405/01/01'","items":{"type":"string"},"maxItems":500,"type":"array"},"includeFixedSolarHolidays":{"type":"boolean"},"op":{"enum":["is_business_day","add","count"],"type":"string"},"to":{"anyOf":[{"properties":{"day":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"month":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"year":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["year","month","day"],"type":"object"},{"type":"string"}],"description":"Jalali date as {year,month,day} or text like '1405/07/24'"},"weekend":{"description":"Weekend days; default friday only","enum":["friday","thursday_friday"],"type":"string"}},"required":["op","date"],"type":"object"},"name":"iran_business_days"},{"description":"Fixed solar-calendar public holidays of a Jalali year (Nowruz 1-4 Farvardin, 12-13 Farvardin, 14-15 Khordad, 22 Bahman, 29 Esfand) with Gregorian dates, plus the Hijri-based holiday list WITHOUT dates. Lunar holidays shift yearly and need the official annual calendar.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"year":{"maximum":3177,"minimum":1,"type":"integer"}},"required":["year"],"type":"object"},"name":"iran_holidays"},{"description":"Heuristically extract province, city (province capitals only), valid postal code, and plaque/unit/floor numbers from a Persian address string.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"text":{"maxLength":2000,"type":"string"}},"required":["text"],"type":"object"},"name":"parse_iran_address"}]}}}
