Get Poem Section
ganjoor_get_sectionRetrieve a poem section by its section ID, with optional verses and related sections in markdown or JSON. Use it after mapping IDs with the poem sections tool.
Instructions
Get one section of a poem by its section id, including its verses and its own related sections.
Args:
section_id (number): Section id — get these from ganjoor_get_poem_sections
include_verses (boolean): Include the section's verses (default: true)
include_related (boolean): Include related sections from other poems (default: false)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: Section metadata, its metre/rhyme, optionally its verses and its related sections.
Examples:
"Show me section 38101" -> section_id=38101
Notes:
A section id differs from a poem id; use ganjoor_get_poem_sections first to map between them.
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": {
"section_id": "<section_id>"
},
"name": "ganjoor_get_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section_id | Yes | Section id from ganjoor_get_poem_sections. | |
| include_verses | No | Include the section's verses. | |
| include_related | No | Include sections from other poems related to this one. | |
| response_format | No | Output format: 'markdown' for human-readable text (default) or 'json' for machine-readable structured data. | markdown |