trigger_db_sync
Run D365FO database sync to apply schema changes. Use partial sync for specific tables after adding or renaming fields, or auto-extract tables from a project file for faster sync.
Instructions
Run a D365FO database sync (SyncEngine.exe). Supports partial sync of specific tables — much faster than full-model sync. Use partial sync after adding/renaming fields or indexes on known tables. Pass projectPath to auto-extract tables from .rnrproj for smart partial sync. Use full sync only when unsure what changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | No | Partial sync: sync only these tables/views (faster). Example: ["CustTable", "MyNewView"]. Views and data entities go in this same list. Omit for full-model sync. | |
| modelName | No | Model to sync. Auto-detected from .mcp.json if omitted. | |
| syncViews | No | FULL sync only: use syncmode FullAllAndViews. Not needed for partial sync — name the view in tables[] instead. Default: false. | |
| tableName | No | Single-table shorthand — equivalent to tables=["tableName"]. Kept for backwards compatibility. | |
| packagePath | No | PackagesLocalDirectory root. Auto-detected from .mcp.json if omitted. | |
| projectPath | No | Path to .rnrproj file. Auto-extracts table/view names for partial sync. Auto-detected from .mcp.json when no explicit tables given. | |
| connectionString | No | SQL Server connection string. Default: "Data Source=localhost;Initial Catalog=AxDB;Integrated Security=True". |