Introduction to function calling | Gen...
rpc error: code = InvalidArgument desc = Unable to submit request because function parameters schema should be of type OBJECT. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/function-calling error details: name = DebugInfo detail = [ORIGINAL ERROR] generic::invalid_argument: Unable to submit request because function parameters schema should be of type OBJECT. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/function-calling [google.rpc.error_details_ext] { message: "Unable to submit request because function parameters schema should be of type OBJECT. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/function-calling" } stack =
On closer inspection, how do we provide the input and output schema definitions for the ToolDef like it is there for the Genkit JS package.