Repeated phrases in an ayah
ayah_mutashabihatShow repeated phrase metadata for one ayah with an interactive display. Use this when: the user asks which phrases in a specific ayah repeat elsewhere; the user needs phrase IDs and counts before calling phrase_mutashabihat.
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": {
"surah": "<surah>",
"ayah": "<ayah>"
},
"name": "ayah_mutashabihat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ayah | Yes | Ayah number within the selected surah. | |
| surah | Yes | Surah number from 1 to 114. | |
| same_surah_only | No | When true, only include repeated phrase matches found in the same surah as the input ayah. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| phrases | Yes | ||
| ayah_key | No | ||
| surah_id | No | ||
| ayah_words | No | ||
| phrase_ids | Yes | ||
| surah_name | No | ||
| ayah_number | No | ||
| errorMessage | No |