Skip to main content
Firebase
Build
  • Build
  • Get to market quickly and securely with products that can scale globally
  • Go to Build
  • Build Products
  • App Check
  • App Hosting
  • Authentication
  • Cloud Functions
  • Cloud Storage
  • Data Connect
  • Extensions
  • Firebase ML
  • Firestore
  • Genkit
  • Hosting
  • Realtime Database
  • Firebase AI Logic client SDKs
  • Generative AI
Run
  • Run
  • Run your app with confidence and deliver the best experience for your users
  • Go to Run
  • Run Products
  • A/B Testing
  • App Distribution
  • Cloud Messaging
  • Crashlytics
  • Google Analytics
  • In-App Messaging
  • Performance Monitoring
  • Remote Config
  • Test Lab
Solutions Pricing Docs
  • Overview
  • Fundamentals
  • AI
  • Build
  • Run
  • Reference
  • Samples
Support
/
  • English
  • Español – América Latina
  • Indonesia
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어
Blog Studio Go to console
  • Documentation
  • JavaScript API reference
Firebase
  • Build
    • More
  • Run
    • More
  • Solutions
  • Pricing
  • Docs
    • More
  • Support
  • Blog
  • Studio
  • Go to console
  • Build
  • Go to Build
  • Build Products
  • App Check
  • App Hosting
  • Authentication
  • Cloud Functions
  • Cloud Storage
  • Data Connect
  • Extensions
  • Firebase ML
  • Firestore
  • Genkit
  • Hosting
  • Realtime Database
  • Firebase AI Logic client SDKs
  • Generative AI
  • Run
  • Go to Run
  • Run Products
  • A/B Testing
  • App Distribution
  • Cloud Messaging
  • Crashlytics
  • Google Analytics
  • In-App Messaging
  • Performance Monitoring
  • Remote Config
  • Test Lab
  • Overview
  • Fundamentals
  • AI
  • Build
  • Run
  • Reference
  • Samples
  • Firebase
  • Documentation
  • JavaScript API reference

FunctionCall interface

A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values.

Signature:

export interface FunctionCall 

Properties

Property Type Description
args object
name string

FunctionCall.args

Signature:

args: object;

FunctionCall.name

Signature:

name: string;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-04-24 UTC.

  • Learn

    • Guides
    • Reference
    • Samples
    • Libraries
    • GitHub
  • Stay connected

    • Blog
    • Firebase Summit
    • Twitter
    • YouTube
  • Support

    • Contact support
    • Stack Overflow
    • Google Group
    • Release notes
    • FAQs
    • Legacy documentation
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Manage cookies
  • English
  • Español – América Latina
  • Indonesia
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어