Hi All,
I’m working as a small development team, using Gemini-2.5-flash via vertex AI. we’re currently working on batch processing some data, we’ve externally gathered URLs in our pipeline and we’re trying to feed these to Vertex for batches.
A single Gemini API call works (using Gemini on a single instance versus a JSONL batch), however we get the following error when trying the same payload with vertex.
Here’s a sample query:
{
"request": {
"contents": [
{
"parts": [
{
"text": "find me the latest news from apple https://www.apple.com/ "
}
]
}
],
"tools": [
{
"url_context": {}
}
]
}
}
Below is the error payload.
'request.tools.url_context' with no fields at [1:1]
I’ve tried sifting through the api docs, and I’ve also looked at medium articles from April with similar payloads that worked historically but currently do not.