upload_paper
Upload a PDF (base64-encoded, up to 20MB raw bytes) into the user's paper library. Use after search_papers when the user wants a found PDF in their library for read_paper. Returns the new paper_id.
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": {
"content_base64": "<content_base64>"
},
"name": "upload_paper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| filename | No | paper.pdf | |
| folder_id | No | ||
| content_base64 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |