Access and data

Function calling

A model requesting a named software function and supplying the inputs that function expects.

Where you’ll use it.

An assistant requests available appointment times for a fictional clinic. The connected application performs the lookup.

What to keep separate.

Requesting a function is not proof that it ran or succeeded. The application must check permissions, validate inputs and handle the result. MCP is a connection standard, not the action itself.

Connect the ideas.

Read the source.

Google AI for Developers — Function calling with the Gemini API ↗

The model requests a function; the application handles validation and execution.

Reviewed October 24, 2026. Examples are fictional. Product-specific features and data terms vary.