Resolve Ganjoor Page Id To URL
ganjoor_get_page_urlResolve a Ganjoor page ID for a poem, category, or poet into its public web URL path, so you can cite or link the item from a bare numeric ID.
Instructions
Resolve any Ganjoor page id (poem, category, or poet) to its public web URL path.
Useful when you have a bare numeric id from an index or a citation and need to cite or link it.
Args:
id (number): Any Ganjoor page id — poem, category, or poet
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON: { id, url, full_url }
Examples:
"What is the link for id 13836?" -> id=13836
Notes:
Ids are globally unique across poems, categories and poets on Ganjoor.
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": {
"id": "<id>"
},
"name": "ganjoor_get_page_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page id to resolve. Works for poems, categories, and poets. | |
| response_format | No | Output format: 'markdown' for human-readable text (default) or 'json' for machine-readable structured data. | markdown |