Scan data for changes
scan_data_changesScan data for changes like new enum values and potential FK patterns. Creates pending changes for review. Use after data updates to keep ontology current. If some checks could not be made — an unreadable column, a datasource that stopped answering — the changes that were found are still returned and saved, with a "warning" field saying the coverage was partial. An empty change list with a warning does not mean nothing changed. Enum candidates the scan refuses to propose — a column holding personal data, or one whose few distinct values are just the few rows of a small table — are listed in "skipped_enum_candidates" with a reason, and counted in the warning.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scan_data_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | No | Comma-separated list of table names to scan (default: all selected tables) | |
| datasource | No | Optional datasource ID to target. Omit to use the project's configured default; required when the project has multiple datasources and no default is configured. Each datasource has its own SQL dialect: get_schema lists every datasource with its type, dialect and identifier quote, and every result carries datasource_type and dialect. A datasource that has not finished setup is refused with datasource_not_ready. |