fetch_work
Get complete metadata for a scholarly work using its ID. Optionally, fetch the open-access PDF as markdown or receive an LLM summary of the full text.
Instructions
Fetch complete metadata for one work. Set fulltext=True to retrieve the open-access PDF as markdown, or pass a prompt to get an LLM summary instead.
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": {
"work_id": "<work_id>"
},
"name": "fetch_work"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_id | Yes | OpenAlex W…, DOI, pmid:, pmcid:, or mag: | |
| include_abstract | No | ||
| fulltext | No | Fetch open-access PDF as markdown | |
| prompt | No | If set, returns an LLM summary of the full text instead of raw markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||