Get paper full text
get_fulltextExtract the full text of a PhilArchive paper's open-access PDF using its record ID or URL. Returns the text directly, with an option to limit character count.
Instructions
Download a PhilArchive record's open-access PDF and extract its full text, returned directly (no file needed). Accepts a record id or URL. Long papers are truncated to max_chars. Fails clearly if the paper has no open-access PDF.
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": "get_fulltext"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | PhilArchive record id or URL, e.g. 'BROTNO-9'. | |
| max_chars | No | Max characters of extracted text to return (default 50000). |