Skip to content

Interface: GoogleUrlContextTool

@providerprotocol/ai


@providerprotocol/ai / google / 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
const tool: GoogleUrlContextTool = {
urlContext: {},
};

urlContext: Record<string, never>

Defined in: src/providers/google/types.ts:698

Empty object to enable URL context