Add paper to library
add_paper_to_libraryAdd a paper from the index to the personal library, or to a writable collection selected by collectionId. Repeat calls reuse the existing paper and collection membership. A paper can belong to multiple collections; adding a membership preserves its other memberships. Call only when the user asks to save a paper. The result has hasReadablePdf and, when it is true, readerUrl, the paper's page in the Researchzy reader. Requires a connected Researchzy account and library.write.
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": {
"corpusId": "<corpusId>"
},
"name": "add_paper_to_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| corpusId | Yes | The paper's corpusId from search_papers or get_paper. | |
| collectionId | No | A collection whose canAddPapers is true, from list_collections. Omit for the personal library. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||