Get Ganjoor Poet
ganjoor_get_poetRetrieve a poet’s full profile by numeric ID or URL slug, including biography, birth/death details, and top-level works list; use it to map slugs to IDs or read poet biographies.
Instructions
Get a single poet's full profile (including biography) by numeric id or URL slug.
Use this to turn a slug like "/hafez" into the numeric poet id, or to read a poet's biography and catalogue of works.
Args:
id (number): Numeric poet id (optional if
urlis given). Hafez = 2, Saadi = 7, Rumi = 5.url (string): Poet URL slug such as 'hafez' or '/hafez' (optional if
idis given)include_cats (boolean): Include the poet's top-level book/section list (default: true)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: Poet profile with id, name, nickname, biography, birth/death (Hijri + places), plus for JSON: { id, name, nickname, biography, birth_year_hijri, death_year_hijri, birth_place, death_place, full_url, cats: [{ id, title, full_url, cat_type }] }
Examples:
"Tell me about Hafez" -> url='hafez'
"What are Saadi's works?" -> id=7, include_cats=true
Notes:
Supply exactly one of
idorurl. If both are given,idwins.
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": "ganjoor_get_poet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Numeric Ganjoor record id (poet, category, poem, person, ...). | |
| url | No | Ganjoor URL slug. Examples: 'hafez/ghazal/sh494', '/hafez/ghazal/sh494', 'mowhaddam/ghazal/ha1'. The leading slash is optional. | |
| include_cats | No | Include the poet's top-level list of books/sections. | |
| response_format | No | Output format: 'markdown' for human-readable text (default) or 'json' for machine-readable structured data. | markdown |