Get ancestors
jellyfin_get_ancestorsRetrieve all parent items of a specific Jellyfin media item by its ID to trace its library hierarchy and locate the collection, season, or show it belongs to.
Instructions
Gets all parents of an item.
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": {
"item_id": "<item_id>"
},
"name": "jellyfin_get_ancestors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| user_id | No |