Download paper PDF
fetch_pdfDownloads an open-access PDF from PhilArchive by record ID or URL, saves it locally, and returns the file path.
Instructions
Download the open-access PDF of a PhilArchive record and save it locally, returning the file path so it can be read. Accepts a record id or URL. Fails clearly if the paper has no open-access PDF. To get the text directly instead of a file, use get_fulltext.
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": "fetch_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | PhilArchive record id or URL, e.g. 'BROTNO-9'. | |
| dest_dir | No | Directory to save into. Default: <tmp>/philpapers-mcp |