Using both google_search and retrieval gives 500 error

using both google_search and retrieval gives 500 error

“tools”: [
{“google_search”: {}},
{“retrieval”: {
“disable_attribution”: false,
“vertex_rag_store”: {
“rag_resources”: {
“rag_corpus”: “projects/dev/locations/us-ea/ragCorpora/1156846976”
},
“similarity_top_k”: “10”,
“vector_distance_threshold”: “2”
}
}
}
]