search_videos
Search for video files in a specified directory using criteria such as tags, title, artist, genre, duration, and file size with the Video Metadata MCP’s search_videos tool.
Instructions
在指定目录中搜索符合条件的视频文件
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | 要搜索的目录路径 | |
| options | No | 搜索选项 |
Input Schema (JSON Schema)
{
"properties": {
"directory": {
"description": "要搜索的目录路径",
"type": "string"
},
"options": {
"description": "搜索选项",
"properties": {
"artist": {
"description": "按艺术家搜索",
"type": "string"
},
"duration_max": {
"description": "最大时长(秒)",
"type": "number"
},
"duration_min": {
"description": "最小时长(秒)",
"type": "number"
},
"filesize_max": {
"description": "最大文件大小(字节)",
"type": "number"
},
"filesize_min": {
"description": "最小文件大小(字节)",
"type": "number"
},
"genre": {
"description": "按类型搜索",
"type": "string"
},
"tags": {
"description": "按标签搜索",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "按标题搜索",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"directory"
],
"type": "object"
}