from_files
Describe multiple local files (text, image, audio, video) using Gemini by providing paths and a prompt. Returns descriptions or extractions from the given media.
Instructions
Alias for vision_from_files — describe multiple 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": {
"type": "<type>",
"prompt": "<prompt>",
"paths": "<paths>"
},
"name": "from_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Media category — text, image, audio, or video. | |
| paths | Yes | List of local file paths. | |
| 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 |