MCP server · Tools
Context notes
Stored notes on where a text sits in its work: what happened before, what happens here (never a translation), the people, gods and places named, what comes next, and a few lines about the work.
TOOL
get_contextRead onlyIdempotentHand-written for graded passages. For library sections they exist only once a reader has opened Context in Interlinea; otherwise section is null. Never generated here.
Input
| Name | Description |
|---|---|
refstring | RequiredWhat to read: an Interlinea URL (https://interlinea.aeterna-institute.org/library/latin/virgil/aeneid/1.46, or /read/latin/virgil-aeneid for a graded passage), a CTS URN (urn:cts:latinLit:phi0690.phi003.perseus-lat2:1.46) or a citation ("Virgil, Aeneid 1.46", "Iliad 1.1"). Up to 500 characters. |
Output
structuredContent has these fields, and content repeats the same JSON as one text item.
| Name | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kindstring | One of | ||||||||||||||||
langstring | Language code: la (Latin) or grc (Ancient Greek). One of | ||||||||||||||||
languagestring | |||||||||||||||||
citationstring | |||||||||||||||||
urnstring or null | CTS URN, e.g. urn:cts:latinLit:phi0690.phi003.perseus-lat2:1.1-1.11. Null when the edition has none (The Latin Library's own numbering). | ||||||||||||||||
urlstring | Absolute URL. | ||||||||||||||||
apistring | Absolute URL. | ||||||||||||||||
prevobject or null | 4 fields
| ||||||||||||||||
nextobject or null | 4 fields
| ||||||||||||||||
creditobject | 5 fields
| ||||||||||||||||
machineWrittenboolean | False for the graded passages' hand-written notes. | ||||||||||||||||
sectionobject or null | Null until someone has opened Context for this part in the reader.4 fields
| ||||||||||||||||
workobject or null | A few lines about the work.2 fields
|
The same reads as GET /api/v1/context, with the same shape.