library
List, search, check, add, or remove movies and series on Stremio using IMDb IDs.
Instructions
Read or mutate the Stremio library. Add/remove require an explicit IMDb ID and content type.
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": {
"action": "<action>"
},
"name": "library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Required for add/remove; tv is an alias for series | |
| query | No | Title substring for search | |
| action | Yes | Library action to perform | |
| imdb_id | No | Explicit IMDb ID for check/add/remove | |
| active_only | No | Exclude soft-deleted items from list/search |