Interface: GoogleUrlContextTool
@providerprotocol/ai / google / GoogleUrlContextTool
Interface: GoogleUrlContextTool
Section titled “Interface: GoogleUrlContextTool”Defined in: src/providers/google/types.ts:696
URL context tool for fetching and processing URLs.
Enables Gemini to fetch and analyze content from URLs. Supports text, images, and PDF documents.
Limits:
- Maximum 20 URLs per request
- Maximum 34MB content per URL
Example
Section titled “Example”const tool: GoogleUrlContextTool = { urlContext: {},};Properties
Section titled “Properties”urlContext
Section titled “urlContext”urlContext:
Record<string,never>
Defined in: src/providers/google/types.ts:698
Empty object to enable URL context