Search the Library
search_librarySearch the user's Library: every file they have uploaded, in any project or on the Library page, newest first. Use it when the user names or asks for their own footage, photos or sounds that are not in the open project; search_assets lists only the project's media. Files attached to their message are the footage they mean: never search the Library to fill a film. query matches words in file names. To find visual or audible content, use search_video_moments; use read_video_intelligence with a Library id to check indexing progress. Each result has the file's Library id, name, kind, durationSeconds, width and height, createdAt (when it was uploaded) and usedIn (how many projects use it); state is set while a file is not ready. Look at a file before adding it with read_asset and its Library id: a picture, a contact sheet or frames of a range of a video, part of a frame, a sound's waveform and spectrum over a range, or a 3D model from four sides. Add files to the open project with add_from_library and their ids. Works with or without an open project.
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>",
"kind": "<kind>",
"limit": "<limit>",
"cursor": "<cursor>"
},
"name": "search_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Only files of this kind. null lists every kind. | |
| limit | Yes | Most files to return, 1 to 100. null means 20. | |
| query | Yes | Words in the file name, for example beach or interview. null or empty lists every file. | |
| cursor | Yes | Where the next page starts: the cursor the page before ended with, with the same query and kind. null starts at the newest file. |