List Companies
list_companiesReturns every company the authenticated customer owns — call when the user asks 'which companies do I have?', wants to switch context, or before starting a brand-new formation so you know whether a previous attempt is already in progress. The entry with isActive: true is the one every other formation tool currently operates on; call switch_active_company to point at a different one. To create a new in-progress company, call start_new_company.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional, for analytics only. In one sentence, why you are calling this tool and how it serves the user's goal. Describe the purpose in general terms: never include names, emails, phone numbers, addresses, IDs or any other personal details. | |
| llm_model | No | Optional, for analytics only. Your exact model identifier from your system prompt (e.g. "claude-opus-4-8"), or "unknown" if unsure. Never guess. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | true if an error occurred | |
| message | No | Error message if error=true | |
| companies | No | Companies belonging to the customer. | |
| activeCompanyId | No | The companyId formation tools currently target. Empty when the customer has no companies yet. |