refresh_metadata
Refresh local schema metadata cache by querying live databases. Only call when no cache exists or schema has changed.
Instructions
Refresh the local schema metadata cache by querying live databases.
THIS IS AN EXPENSIVE OPERATION — each source may take several minutes. Do NOT call automatically before reads. The cache is designed to be long-lived. Only call when:
No cache exists yet for a source (first-time setup)
The user explicitly says a schema has changed
Each source is throttled to one refresh per 24 hours. Set force=True ONLY when the user has confirmed recent schema changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Bypass the 24-hour throttle. | |
| source | No | Specific source to refresh (omit for all enabled sources). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||