Search Reply Templates
replies_search_templatesSearch customer reply templates by keyword, category, language, or tone to locate the appropriate response for any scenario.
Instructions
Search customer reply templates by keyword, category, language, or tone.
Args:
query (string, optional): keyword matched against title, body, category, and tags (Arabic or English)
category (string, optional): exact category, e.g. 'repair_status', 'complaint'
language ('ar'|'en', optional)
tone ('formal'|'friendly', optional)
Returns: JSON array of template summaries { id, category, title, language, tone, variables, tags }. Use the id with replies_get_template or replies_compose_reply.
Examples:
"Find a reply for a delayed repair" -> category='delay_apology', language='ar'
"رد على شكوى" -> query='شكوى'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tone | No | Reply tone | |
| query | No | Keyword to search for | |
| category | No | One of: greeting, price_inquiry, diagnosis, repair_status, ready_for_pickup, delay_apology, warranty, complaint, unrepairable, data_disclaimer, part_unavailable, location_hours, payment, follow_up | |
| language | No | Template language: 'ar' Arabic or 'en' English |