Search my saved library
search_my_libraryFind which of the user's own saved videos match a topic or a half-remembered detail. Returns up to 5 distinct videos rather than raw fragments, each with its single best moment, a timestamp and a match score. Every moment carries a source: transcript means the words were spoken and can be quoted, while visual or metadata means the text is a scene or on-screen-text description written by the indexer rather than the creator's own words, and reads honestly only as a description. The top-ranked result is not always the video the user meant, so the candidates are meant to be shown to the user, who picks one before its context is pulled with get_moment. When candidates is empty, read reason first: library_empty means nothing is saved yet, so say that and offer to help add a first video rather than reporting no results; no_match means the searched_videos saved videos hold nothing on this; search_unavailable and search_failed are our own trouble, so offer to retry.
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": {
"query": "<query>"
},
"name": "search_my_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | What the user is trying to recall. | |
| channel | No | Optional author or channel name, to search only the user's saves from that creator. | |
| platform | No | Optional platform filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| reason | No | Present only when candidates is empty: WHY it is empty. library_empty means the user has saved nothing yet, so nothing could have matched; no_match means the library does hold videos and none of them cover the query. | |
| degraded | No | True when one retrieval lane did not answer, so the candidate list is incomplete. | |
| candidates | Yes | ||
| searched_videos | No | With reason library_empty or no_match: how many of the user's saved videos were searched. |