content_analyze
Analyze files, URLs, or text with custom instructions. Get structured JSON results using Gemini's reliable output schema.
Instructions
Analyze content (file, URL, or text) with any instruction.
Provide exactly one of file_path, url, or text. Uses Gemini's structured output for reliable JSON responses. Pass a custom output_schema to control the response shape, or use the default ContentResult schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instruction | No | What to analyze — e.g. 'summarize key findings', 'extract methodology', 'list all citations' | Provide a comprehensive analysis of this content. |
| file_path | No | Local file path (PDF or text) | |
| url | No | URL to analyze | |
| text | No | Raw text content | |
| output_schema | No | Optional JSON Schema for the response. If omitted, uses default ContentResult schema. | |
| thinking_level | No | Gemini thinking depth. | medium |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||