upsert_collection
Add or update an authenticated user's Bangumi collection entry for a subject, including rating, comment, tags, privacy, and episode or volume progress.
Instructions
Add or update the authenticated user's collection for a subject (POST/PATCH /v0/users/-/collections/{subject_id}).
Requires BANGUMI_ACCESS_TOKEN. Does not auto-retry on network timeout.
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": {
"subject_id": "<subject_id>"
},
"name": "upsert_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | ||
| tags | No | ||
| comment | No | ||
| private | No | ||
| ep_status | No | ||
| subject_id | Yes | ||
| vol_status | No | ||
| collection_type | No | ||
| create_if_missing | No |