Where a phrase appears in the Quran
phrase_mutashabihatShow phrase mutashabihat occurrences with an interactive display. Use this when: the user provides phrase text and asks where it appears; the user has a phrase_id (for example from ayah_mutashabihat) and wants all matches.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "phrase_mutashabihat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phrase_id | No | Mutashabihat phrase ID. Provide phrase_id or phrase_text, but not both. | |
| phrase_text | No | Arabic phrase text to search for. Provide phrase_text or phrase_id, but not both. | |
| same_surah_only | No | When true, only include occurrences from the same surah as each matched ayah. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ayahs | No | ||
| count | No | ||
| error | No | ||
| found | Yes | ||
| match | No | ||
| source | No | ||
| surahs | No | ||
| phrase_id | No | ||
| occurrences | Yes | ||
| phrase_text | No | ||
| errorMessage | No | ||
| closest_match | No | ||
| not_found_reason | No | ||
| not_found_message | No |