bc_list_companies
Discover all available companies in your Business Central environment and identify the active company. Use this to verify target company before switching.
Instructions
List all companies available in the current Business Central environment. Returns an array of company names along with the currently active company name. Use this before bc_switch_company to verify the target company exists and to discover available companies.
This tool opens the BC Companies system page internally, reads all entries, and closes it. It does not affect your currently open pages or session state. No parameters are required.
Do NOT use this if you already know the company name -- call bc_switch_company directly. If you need to work with data in a specific company, use bc_switch_company followed by bc_open_page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||