Create Collection
create_collectionCreate or retrieve a named collection for organizing papers. Supports folder nesting using '/' in the name.
Instructions
Create a new named collection. MUTATES. If a collection with that name already exists, returns the existing one (get-or-create — never errors on duplicate). Use "/" to nest under a folder, e.g. "AgentOPA/Formal" — the folder is derived from the name, so there is no parent to create first. Requires SF_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the collection, e.g. 'KV-cache compression'. Use '/' to nest: 'AgentOPA/Formal' files it under an 'AgentOPA' folder. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True when the operation succeeded. | |
| message | No | Human-readable summary of the outcome. | |
| action | No | Machine label: saved | no_change | removed | liked | created | updated | deleted. | |
| arxiv_id | No | ||
| collection | No | The created/affected collection, when applicable. | |
| watch | No | The created/affected watch, when applicable. |