This is the documentation of version 0.64.0. Go to the latest version, 1.0.0-rc.5.

What the agent sends, and where

This page lists the data an Agent Toolkit agent sends from your users' browsers, and where it goes. Use it for your privacy notice and your records of processing (GDPR Articles 13 and 30).

The agent's tools call TomTom through the SDK, so everything in What the SDK sends, and where applies to them too. This page covers what the toolkit adds: the model provider, the user's location, and the URLs the model asks it to load.

What goes to your model provider

Every turn sends the model:

With the default classifier, each turn makes one more call to the same model before the tool loop, carrying the user's message, up to 8 earlier messages cut to 300 characters each, and each tool's name and classificationPrompt.

Some data reaches the model only through a tool:

The provider is yours to choose, so list it in your privacy notice as a recipient of what your users type. If you proxy the model, these calls go through your proxy first, and the provider sees your proxy's IP address rather than the user's.

The user's location

The getCurrentLocation tool calls navigator.geolocation when the model picks it, for example for a "near me" request. The browser asks the user for permission first.

When the user allows it, the tool result gives the model the position rounded to about 100 m and an accuracy of at least 111 m, with no timestamp, from a fix up to a minute old. createGetCurrentLocationTool({ fullPrecision: true }) sends the exact position, the device's accuracy and the fix's timestamp instead: What getCurrentLocation sends compares the two. From there the position reaches TomTom in any search or route the model builds around it.

No other part of the toolkit or the SDK reads the user's location. To stop it, remove or replace the tool.

URLs the model asks for

Two tools load a URL from the user's browser, so that URL's host sees your users' IP addresses:

What the toolkit does not do

Related guides