Search Sirv Files
sirv_cdn_search_filesSearch files in your connected Sirv account by name, folder, tag, or extension using Sirv search syntax. Returns matching file paths and details with paging and sorting options.
Instructions
Search the files in the Sirv account connected to the workspace, with Sirv search syntax in query, such as basename:boot or a folder or tag name.
Use it to find a Sirv file path. Do not use it for Studio library assets: use sirv_list_assets. To list one folder, use sirv_cdn_manage_folder.
Inputs: query is required. sort_field and sort_order work only together. Page with from (default 0) and size (default 100).
Read-only. Returns the matching files with their paths and details.
Credits: free.
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": "sirv_cdn_search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Number of results to skip, for the next page, 0 to 1000. Default: 0 | |
| size | No | Results per page, 1 to 100. Default: 100 | |
| orgId | No | Workspace id from sirv_list_organizations. Default: the workspace you signed in to | |
| query | Yes | Sirv search query, such as a file name, a folder, a tag or an extension | |
| sort_field | No | Field to sort by. Needs sort_order. Default: Sirv's relevance order | |
| sort_order | No | Sort direction. Needs sort_field |