url_context_extract
Extract structured content from web URLs using Gemini AI, returning JSON with page text, summaries, and metadata for analysis or processing.
Instructions
Extract content from URLs using Gemini AI and return structured JSON with pages, answer, and metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxCharsPerPage | No | Maximum characters per page (optional, defaults to 8000) | |
model | No | Gemini model name to use (optional, defaults to gemini-2.0-flash-exp) | |
query | No | Optional query to guide content extraction and summary | |
urls | Yes | Array of URLs to extract content from |
Input Schema (JSON Schema)
{
"properties": {
"maxCharsPerPage": {
"description": "Maximum characters per page (optional, defaults to 8000)",
"type": "number"
},
"model": {
"description": "Gemini model name to use (optional, defaults to gemini-2.0-flash-exp)",
"type": "string"
},
"query": {
"description": "Optional query to guide content extraction and summary",
"type": "string"
},
"urls": {
"description": "Array of URLs to extract content from",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"urls"
],
"type": "object"
}