When this tool is enabled, you can include URLs directly in your prompts and Gemini will fetch and analyze the content.
Learn more in https://ai.google.dev/gemini-api/docs/url-context.
See also
Other built-in tools:
claude_tool_web_fetch(),
claude_tool_web_search(),
google_tool_web_search(),
openai_tool_web_search()
Examples
if (FALSE) { # \dontrun{
chat <- chat_google_gemini()
chat$register_tool(google_tool_web_fetch())
chat$chat("What are the latest package releases on https://tidyverse.org/blog?")
} # }
