Get Related Poem Sections
ganjoor_get_related_sectionsFind sections from other poems that match a given poem section by metre and rhyme, enabling stanza-level discovery of reply-poems and cross-poet allusions.
Instructions
Find sections from other poems that match a given poem section in metre and rhyme.
This is the section-level counterpart of ganjoor_find_similar_poems and is how Ganjoor links reply-poems and cross-poet allusions at stanza granularity.
Args:
poem_id (number): Numeric poem id
section_index (number): 0-based section index within the poem (from ganjoor_get_poem_sections)
skip (number): Results to skip (default: 0)
items_count (number): How many to return. 0 or negative returns all (default: 10)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON: { poem_id, section_index, total, related_sections: [{ id, poem_id, section_index, poet_name, full_url }] }
Examples:
"What matches the first section of poem 2623?" -> poem_id=2623, section_index=0
Notes:
items_count=0returns every match, which can be thousands — prefer a bounded count.
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>",
"section_index": "<section_index>"
},
"name": "ganjoor_get_related_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Results to skip for pagination. | |
| poem_id | Yes | Numeric poem id. | |
| items_count | No | How many related sections to return. 0 or less returns all. | |
| section_index | Yes | 0-based section index within the poem. | |
| response_format | No | Output format: 'markdown' for human-readable text (default) or 'json' for machine-readable structured data. | markdown |