Search Results for

    Show / Hide Table of Contents

    Class GoogleUrlContext

    The URL context tool lets you provide additional context to the models in the form of URLs. By including URLs in your request, the model will access the content from those pages (as long as it's not a URL type listed in the limitations section) to inform and enhance its response.

    Inheritance
    object
    Tool
    GoogleUrlContext
    Inherited Members
    Tool.Type
    Tool.TryGetToolName(out string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class GoogleUrlContext : Tool
    Remarks

    The URL context tool is useful for tasks like the following:

    • Extract Data: Pull specific info like prices, names, or key findings from multiple URLs.
    • Compare Documents: Analyze multiple reports, articles, or PDFs to identify differences and track trends.
    • Synthesize & Create Content: Combine information from several source URLs to generate accurate summaries, blog posts, or reports.
    • Analyze Code & Docs: Point to a GitHub repository or technical documentation to explain code, generate setup instructions, or answer questions.

    Supported models:

    • Gemini 2.5 Pro, Flash, Flash-Lite
    • Gemini Live 2.5 Flash Preview
    • Gemini 2.0 Flash Live 001

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation