update_index_subject
Overwrite a subject's sort order and comment within a Bangumi index, adding it if absent. Use it to set or correct index entry details with an access token.
Instructions
Overwrite a subject's sort order and comment inside an Index (PUT /v0/indices/{index_id}/subjects/{subject_id}).
Requires BANGUMI_ACCESS_TOKEN. Upstream writes BOTH sort and comment on every PUT (and inserts the subject into the index if not already present), so always pass both desired values.
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": {
"index_id": "<index_id>",
"subject_id": "<subject_id>"
},
"name": "update_index_subject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| comment | No | ||
| index_id | Yes | ||
| subject_id | Yes |