import_paper
Imports a local PDF or Markdown paper into the cache, routing it by identifier so it is indexed for later lookup; Markdown files skip conversion and are indexed immediately.
Instructions
Import a local .pdf or .md/.markdown file into the paper cache.
Routes into the provider namespace matching identifier (or manual
for freeform labels). Markdown imports skip convert_paper and are
indexed immediately.
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": {
"file_path": "<file_path>",
"identifier": "<identifier>"
},
"name": "import_paper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to a local .pdf or .md/.markdown file. Absolute or ~/-prefixed paths recommended. PDF is routed through the conversion pipeline; markdown is imported directly and skips conversion. | |
| identifier | Yes | Paper identifier: arXiv ID, bioRxiv/medRxiv DOI, ACL Anthology ID/URL, DOI, PMID, PMCID (PMC...), or OpenAlex work ID (W...). Pipeline tools also accept freeform import labels. | |
| force_refresh | No | Overwrite any cached copy for this identifier (drops derived markdown for PDFs). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||