from_files_mixed
Describe mixed media files—images, text, audio, and video at local paths—by sending a custom prompt to Gemini, with an optional compact mode to reset the session history.
Instructions
Alias for vision_from_files_mixed — describe mixed-type files using Gemini.
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": {
"types": "<types>",
"prompt": "<prompt>",
"paths": "<paths>"
},
"name": "from_files_mixed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | List of local file paths (must match length of types). | |
| types | Yes | List of media categories, one per file (text, image, audio, video). | |
| prompt | Yes | Instructions to the model (what to describe/extract). | |
| compact | No | If true, compact history and reconnect after this request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |