Get poem
get_poemReturns the text of a poem in the ReadingRate collection, with numbered lines. Titles, epigraphs, dedications and stage directions are marked apart from the verse. A long work in sections, such as an epic, returns its list of sections unless a section number is given.
Use when the user asks to read or see a specific poem, or part of one. It returns only poems already in the collection; it does not write, continue or translate poems.
Examples:
{"identifier": "wyatt/whoso-list-to-hunt"}
{"identifier": "milton/paradise-lost", "section": 1}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | Section number, for a work in sections only. Omit to get the list of sections. | |
| identifier | Yes | The poem's anchor, "poet/poem" such as "wyatt/whoso-list-to-hunt", or its slug alone, such as "whoso-list-to-hunt" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | How to fetch a section, when sections were returned | |
| poem | Yes | Identity of the work, and the anchor every line hangs off | |
| lines | No | The text, in order. Apparatus lines are marked and carry no line number. | |
| section | No | Section ordinal, when one was asked for | |
| sections | No | Returned instead of lines when the work is sectioned and no section was named |