GoogleMaps: {
    enable_widget?: boolean;
    latitude?: number;
    longitude?: number;
    type: "google_maps";
}

A tool that can be used by the model to call Google Maps.

Type declaration

  • Optionalenable_widget?: boolean

    Whether to return a widget context token in the tool call result of the

    response.

  • Optionallatitude?: number

    The latitude of the user's location.

  • Optionallongitude?: number

    The longitude of the user's location.

  • type: "google_maps"