fm_use_tenant
Switch to a different FileMaker tenant to connect to its server and discover its database schema.
Instructions
Switch to a different FileMaker tenant.
Connects to the named tenant's FM server and discovers its schema. First switch triggers full bootstrap (may take a few seconds). All subsequent queries go to this tenant.
Args: name: Tenant name as configured (e.g., "production", "staging"). Case-insensitive. Use fm_list_tenants() to see available names.
Returns: Connection summary with host, database, and table count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |