refresh_sql_endpoint_metadata
Sync SQL analytics endpoint metadata with its underlying Lakehouse to detect schema changes such as added or dropped tables. Use for schema updates, not for data-only refreshes.
Instructions
Refresh metadata for a SQL analytics endpoint (sync from the underlying Lakehouse).
This is a long-running operation (LRO) that is polled to completion.
Returns a list of per-table sync results. Use this tool for SCHEMA
changes (tables added or dropped). For cheap, per-table DATA-only
staleness on a table you already know exists, use
refresh_table_metadata instead -- it does not pick up schema
changes.
Args:
workspace: Workspace name or GUID.
endpoint: SQL analytics endpoint name or GUID.
recreate_tables: When True, drop and recreate all tables during
the refresh. Use to resolve inconsistencies or force a clean
rebuild. Destructive — use with caution. Requires
FABRIC_MCP_ALLOW_DESTRUCTIVE=1 when enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | ||
| workspace | Yes | ||
| recreate_tables | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |