Gemini Analyze Document Tool
gemini_analyze_document_toolAnalyze PDF, DOCX, TXT, and other documents to answer questions or generate summaries from an absolute file path.
Instructions
Analyze a document (PDF, DOCX, TXT, etc.).
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": {
"file_path": "<file_path>"
},
"name": "gemini_analyze_document_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use. | flash |
| question | No | Question or instruction about the document. | Analyze this document and provide a summary. |
| file_path | Yes | Absolute path to the document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||