get_ghazal
Fetch ONE complete ghazal of the Divan-e Shams by its canonical number (1..3230) or citation ('G1393' / 'G1393:2'). Returns every beyt plus prev/next ghazal numbers. Famous example: get_ghazal(1393) = «مرده بدم زنده شدم…».
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": "get_ghazal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | Ghazal number, e.g. 1393 | |
| citation | No | Divan citation like 'G1393' or 'G1393:2' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| beyts | No | ||
| ghazal | Yes | Canonical ghazal number, 1..3230 | |
| excerpt | No | First hemistich of the ghazal | |
| citation | Yes | 'G{n}' — cites the whole ghazal | |
| title_fa | Yes | ||
| beyt_count | Yes | ||
| next_ghazal | No | ||
| prev_ghazal | No |