Content Analyze
content_analyzeAnalyze a file, URL, or text using a custom instruction to extract insights or summaries as structured JSON, with optional schema control.
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 |
|---|---|---|---|
| url | No | URL to analyze | |
| text | No | Raw text content | |
| file_path | No | Local file path (PDF or text) | |
| instruction | No | What to analyze — e.g. 'summarize key findings', 'extract methodology', 'list all citations' | Provide a comprehensive analysis of this 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 | |||