lookup_paper
Retrieve the full markdown reference for a C++26 WG21 paper by providing its paper identifier, including frontmatter and prose body.
Instructions
Return the full markdown reference for a C++26 paper.
Args: paper_id: WG21 paper identifier (e.g. 'P2996', 'P2900').
Returns: The contents of corpus/references/<paper_id>.md, including the YAML frontmatter (id, title, revision, tier, keywords, canonical_url, …) and the prose body (problem, syntax, canonical example, pre-C++26 equivalent, gotchas, related).
Raises: FileNotFoundError when the paper is unknown to the index, or known but its reference markdown has not yet been authored.
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": {
"paper_id": "<paper_id>"
},
"name": "lookup_paper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |