get_workspace_info
Retrieve the active workspace configuration at session start: model name, paths, environment type, and extension prefix. Flags missing prefixes so development targets the correct model.
Instructions
ALWAYS call FIRST at session start. Returns model name, package path, framework directory, project path, environment type, and EXTENSION_PREFIX. Flags placeholder model names and missing prefix. Pass projectName/projectPath when you have the project's name or path. Authoritative source for target model — not search results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | No | Return the uncommitted X++ changes (`git diff HEAD`) plus per-file rollback hints INSTEAD of the configuration. Review-only — not a way to verify a write. | |
| diagnostics | No | Include verbose sections (config sources, suffix, project paths, index scan, stdio handshake). Use when debugging config or connectivity. | |
| projectName | No | The PROJECT file name, e.g. "Contoso - FeatureManagement" — pass it whenever you have one: the USER named it, or an earlier call listed it. NOT a model name, and not a guess from a ticket: one model has many projects, so naming it selects none. Steers WRITES only; reads span every model already. | |
| projectPath | No | Absolute path to a .rnrproj file. Use when projectName is ambiguous, none was auto-selected, or D365FO_SOLUTIONS_PATH is unset. Example: "K:\\repos\\Contoso\\MyProject\\MyProject.rnrproj" |