video_recognition
Analyze and describe a video using AI. Provide a local file path or a URL from Bilibili or YouTube; the tool downloads the video and processes it with a custom prompt.
Instructions
Analyze and describe a video using Google Gemini AI. The "filepath" argument accepts EITHER a local file path OR a video URL (e.g. a Bilibili or YouTube link). URLs are downloaded automatically (<=480p) before analysis.
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": {
"filepath": "<filepath>"
},
"name": "video_recognition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Custom prompt for the recognition | Describe this content |
| filepath | Yes | Path to the media file to analyze | |
| modelname | No | Gemini model to use for recognition | gemini-2.0-flash |