TombaTomba
Start free
  • Documentation
  • API reference
  • SDKs & CLI
  • AI & MCP
  • Integrations
  • Enterprise
  • Migration guides

Find, verify and enrich B2B contacts from public sources, in the app, your spreadsheet or through the API.

GDPR & CCPA

// docs

  • API changelog
  • Support options
  • Security

// platform

  • Dashboard
  • Pricing
  • API status

// resources

  • Help center
  • Product updates
  • TombaBot crawler

// company

  • Website
  • Contact us
  • Edit or remove your data

© 2021–2026 Tomba.io

  • Terms of service
  • Privacy policy
  • Cookie policy
  • Security policy
  • GDPR
  • CCPA
SDKs
CLI
    InstallationAuthenticationCLI commandsBulk CSV processingLocal HTTP serverAI chatSkillsSlack slash commands
CLI

AI chat

tomba chat takes requests in plain language, such as "Find the head of sales at Stripe and verify their email", and lets an OpenAI model decide which Tomba lookups to run. It uses your own OpenAI API key.

Requirements

  • The CLI, signed in to Tomba (Authentication).
  • An OpenAI API key in the OPENAI_API_KEY environment variable. OpenAI bills its usage to that key.

Data and credits

The CLI sends your messages, its instructions to the model, the list of available lookups, and the full response of every lookup it runs to OpenAI's Chat Completions API (https://api.openai.com/v1/chat/completions), from your machine and with your key. In batch mode, it also sends values from each CSV row.

Lookup results sent to OpenAI include personal data, such as people's names, email addresses, and phone numbers.

The model chooses the lookups, and one request can lead to several of them. Each is a Tomba API request billed as described in Credit costs, and the CLI doesn't ask before running it.

An interactive chat saves nothing locally: the conversation is kept in memory until you exit. Batch mode writes one CSV file.

Start a chat

TerminalCode
export OPENAI_API_KEY="sk-..." tomba chat

Type a request at the You: prompt. The CLI prints the lookups the model ran, such as workflow: domain_search -> email_finder -> email_verifier, followed by the model's answer. Type quit, exit, or q to leave.

FlagTypeDefaultDescription
--modelstringgpt-4oOpenAI model to use. It must support tool calling.
--filestring—CSV file to process in batch mode.
--typestringenrichBatch operation: enrich, verify, finder, or search.
--output, -ostring<input>_enriched.csvOutput file in batch mode.

The help for --type also lists linkedin and author, but the CLI builds no request for those types, so their rows fail.

Lookups the model can run

ToolCalls
domain_searchGET /v1/domain-search
email_finderGET /v1/email-finder
email_verifierGET /v1/email-verifier
email_enrichmentGET /v1/enrich
email_countGET /v1/email-count
email_sourcesGET /v1/email-sources
linkedin_finderGET /v1/linkedin
author_finderGET /v1/author-finder
domain_statusGET /v1/domain-status
phone_finderGET /v1/phone-finder

Batch mode

TerminalCode
tomba chat --file contacts.csv --type verify

For each row, the CLI sends the model one request built from the row:

--typeRequest sent for each row
enrich, verifyThe value of the column named email, e-mail, mail, or email_address; without one, the whole row
searchThe value of the column named domain, company_domain, or website; without one, the whole row
finderEvery non-empty column, as column=value pairs

Rows are processed one at a time. When all rows are done, the CLI writes the output file, with your input columns followed by the same result columns as tomba bulk, and prints a table of the first 20 rows. It doesn't resume an interrupted run. The input must be a comma-separated file with a header row, and every row must have the same number of fields.

To run a single lookup per row without OpenAI, use tomba bulk.

Examples

TerminalCode
# Interactive chat with another model tomba chat --model gpt-4o-mini # Enrich every address in a file tomba chat --file contacts.csv --type enrich # Find addresses from name and company columns, writing to a chosen file tomba chat --file prospects.csv --type finder --output prospects_found.csv
Last modified on September 30, 2026
Local HTTP serverSkills
On this page
  • Requirements
  • Data and credits
  • Start a chat
  • Lookups the model can run
  • Batch mode
  • Examples