Get Ganjoor FAQ Items
ganjoor_get_faq_itemsRetrieve every published question and answer in a Ganjoor FAQ category, with pagination and Markdown or JSON output, to look up category-specific FAQ content.
Instructions
Get every published question-and-answer in a Ganjoor FAQ category.
Args:
cat_id (number): FAQ category id (from ganjoor_list_faq_categories)
page (number): Page number, starting from 1 (default: 1)
page_size (number): Items per page, 1-100 (default: 20)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON: { cat_id, total, count, page, page_size, has_more, next_page, items: [{ id, question, answer, answer_excerpt }] }
Examples:
"How does Ganjoor decide which text to use?" -> cat_id=, then read the answers
Notes:
Answers are Persian prose and may contain HTML markup from the source; return them verbatim.
Despite its name, answerExcerpt carries the complete body — fullAnswer is always empty upstream.
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": {
"cat_id": "<cat_id>"
},
"name": "ganjoor_get_faq_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting from 1. | |
| cat_id | Yes | FAQ category id. | |
| page_size | No | Maximum items to return per page (1-100, default 20). | |
| response_format | No | Output format: 'markdown' for human-readable text (default) or 'json' for machine-readable structured data. | markdown |