Get Poems Quoted By A Poem
ganjoor_get_poem_quoted_poemsRetrieve the poems a given poem quotes or alludes to, plus the poems that quote it, to map Persian poetry quotation links in both directions.
Instructions
Get the poems that a given poem quotes or alludes to, and the poems that quote it.
Matching in metre and rhyme is common in Persian poetry — poets answer each other by reusing the other's metre and rhyme. This endpoint maps those links in both directions.
Args:
poem_id (number): Numeric poem id
only_both_poems (boolean): Only keep pairs where both poems claim the quotation (default: false)
published_only (boolean): Only keep published records (default: true)
main_list_only (boolean): Only keep records curated onto the main "related poems" list (default: false)
skip (number): Results to skip (default: 0)
items_count (number): How many to return. 0 or negative returns all (default: 20)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON: { poem_id, total, returned, quotes: [{ id, related_poem_id, related_poet_name, related_poem_title, related_poem_url, is_prior, quoted_couplet, quoting_couplet, claimed_by_both, note }] }
Examples:
"Which poems does this one answer?" -> poem_id=
Notes:
Each record pairs the quoted couplet with the couplet in the other poem that quotes it, so the actual verbal borrowing is visible.
is_prior: truemeans this poem came first chronologically.items_count=0returns everything, which can be large.
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": {
"poem_id": "<poem_id>"
},
"name": "ganjoor_get_poem_quoted_poems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Results to skip. | |
| poem_id | Yes | Numeric poem id. | |
| items_count | No | How many results to return. 0 or less returns all. | |
| main_list_only | No | Only include records curated onto the main related-poems list. | |
| published_only | No | Only include published records. | |
| only_both_poems | No | Only include quotations both poems acknowledge. | |
| response_format | No | Output format: 'markdown' for human-readable text (default) or 'json' for machine-readable structured data. | markdown |