# Gemini and Angular, Part II: Structured Outputs and Tool calls

DevFeed: [Gemini and Angular, Part II: Structured Outputs and Tool calls](<https://devfeed.tech/articles/gemini-and-angular-part-ii-structured-outputs-and-tool-calls-37467.md>)

Original publisher: [Read original article](<https://www.angularspace.com/gemini-and-angular-part-ii-structured-outputs-and-tool-calls/>)

Author: Armen Vardanyan

Published: 2025-11-04T13:42:00Z

Content type: tutorial

Language: en

Sources: [Daniel Glejzner](<https://devfeed.tech/sources/daniel-glejzner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [function calling](<https://devfeed.tech/topics/function-calling.md>), [Google AI](<https://devfeed.tech/topics/google-ai.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [api](<https://devfeed.tech/tags/api.md>), [articles](<https://devfeed.tech/tags/articles.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [function-calling](<https://devfeed.tech/tags/function-calling.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [generative-ui](<https://devfeed.tech/tags/generative-ui.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

## AI overview

This tutorial continues a series on using Gemini with Angular. It explains structured outputs and function calling (tool use), showing how these capabilities can support AI-powered UI and UX decisions and provide a foundation for generative UI. The article begins building an Angular writing assistant that compares two paragraph versions through the Gemini API.

## Source excerpt

Let's continue our journey into LLMs and Gemini! In the previous article, we learned how LLMs generate text, what are tokens, what configuration parameters like temperature, topP and so on mean how to create a Google Cloud project, get a Gemini API key, and use the SDK to