docs-devsite/ai.urlcontexttool.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
A tool that allows you to provide additional context to the models in the form of public web URLs. By including URLs in your request, the Gemini model will access the content from those pages to inform and enhance its response.
<b>Signature:</b>
export interface URLContextTool
| Property | Type | Description |
|---|---|---|
| urlContext | URLContext | Specifies the URL Context configuration. |
Specifies the URL Context configuration.
<b>Signature:</b>
urlContext: URLContext;