Search FAQs
search_faqsSearch Sunleaf FAQs to answer customer questions by retrieving matching Q&A entries with citation IDs.
Instructions
Find the Sunleaf FAQ entries that best match a question. Returns each question and answer with its FAQ id for citation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_faqs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The customer's question or keywords | |
| max_results | No | How many FAQs to return, 1 to 5 (default 3) |