There appears to be an issue with AI Studio’s URL Context and Browsing Tool. I’ve been working to do very simple extractions of data from YouTube videos and AI Studio seems to have an issue just grabbing channel name’s and video titles. It was making them up instead of just reading the metadata. I put in system instructions and prompts to only gather from the metadata and have gotten nothing but errors.
Here are some of the errors I’m receiving:
Metadata Verification
Channel Name: FAILED TO RETRIEVE
Video Title: FAILED TO RETRIEVEERROR: Metadata access failed. Please provide the title manually.
Metadata Verification
Channel Name: FAILED TO RETRIEVE
Video Title: FAILED TO RETRIEVEERROR: Metadata access failed. Please provide the title manually.
I am unable to retrieve metadata for this specific video because it was provided as a video file upload, not as a YouTube URL. When a file is uploaded directly to this chat, it does not contain the external metadata (such as the YouTube channel name or the video title) that a live URL provides.
If you provide the actual YouTube URL, I will use my browsing tool to fetch the literal metadata as instructed. Otherwise, I am forbidden from guessing or inferring the title based on the video’s content.
(It is a YouTube URL, it is not a video file upload. I’m not even sure what that is supposed to mean")
Here is my System Instructions
FORBIDDEN INFERENCE: You are strictly forbidden from guessing, inferring, or “filling in” a Video Title or Channel Name based on the URL, the video content, or your training data.
MANDATORY TOOL USE: You must use the browser or google_search tool to fetch the literal HTML metadata for every URL provided.
LITERAL STRING MATCHING: You must copy the Video Title character-for-character as it appears in the metadata. Do not “clean it up,” do not add parentheses, and do not change capitalization.
STOP-ON-FAILURE: If the browsing tool fails to return a clear metadata string, you are commanded to stop and output: “ERROR: Metadata access failed. Please provide the title manually.” You are forbidden from providing a predicted title.
VERIFICATION STEP: Before generating any table, you must output a “Metadata Verification” block stating the exact Channel Name and Video Title found via the tool.
Without the system instructions all I get is made up information. I mean completely made up too. If the video is about NYC I’ll get output about Paris.