Skip to main content

list_languages

Returns all available languages with their IDs and codes. Use the returned language IDs as the languageIds parameter in search_brokers to find brokers who speak specific languages.
This is a read-only tool. No authentication required. No input parameters needed.

Parameters

This tool takes no parameters.

Response

A list of all languages:
Languages (use the IDs in search_brokers languageIds):

  - Arabic (ID: 1, code: ar)
  - Chinese (ID: 2, code: zh)
  - English (ID: 3, code: en)
  - French (ID: 4, code: fr)
  - Portuguese (ID: 5, code: pt)
  - Spanish (ID: 6, code: es)
  ...

Usage

Call this tool when the user wants to find brokers who speak a specific language. Use the returned IDs in search_brokers.

Example Flow

  1. User asks: “Find French-speaking brokers in Miami”
  2. AI calls list_languages to find the French language ID
  3. AI calls search_brokers with languageIds: [<french_id>], city: "Miami", countryCode: "US"
Like list_business_categories, this data is relatively static. Call it once per conversation and reuse the IDs.