Propose a Solution Configuration
init_solution_configCollects setup material for a solution's Layer, Exclude-Namespaces, and Test profiles when config is uninitialized or stale; pass the proposed mapping to apply_solution_config.
Instructions
Collect the material for the guided setup of a solution's Layer Profile, Exclude-Namespaces and Test Profile - step 1 of 2; apply_solution_config writes.
Use it when solution_config_status or analyze_solution's configInit reports an axis uninitialized, or check_solution_config_drift reports one stale. Propose a mapping from the material, then pass it to apply_solution_config.
Returns solutionPath; declaredNamespaces - the solution's own namespaces, the layer-rule source (no test-project namespaces; System/Microsoft/JetBrains ones only under a production project's assembly or root namespace; over the cap the shallowest stay and declaredNamespacesOmitted counts the cut ones per nearest kept parent, else first segment); referencedNamespaces - every namespace a using directive names but the own declared ones (referencedNamespacesOwnOmitted counts them; own *.Properties may stay), heaviest first (a hand-written global using ahead of any file count), each {namespace, documents} (hand-written files whose using names it), plus generatedDocuments (build-written files, obj/) and globalUsingProjects / implicitGlobalUsing (an SDK implicit using) where they apply - neither says what the code leans on; testProjects - the default heuristic's test projects; detectedTestAttributes - the test-attribute MARKERS in the code; testAttributeUses - the attributes each marker covers, with method counts (top 10; Fact covers ConditionalFact); frameworkApiAreas - areas the built-in exclusion list removes although >= 15% of public method signatures name them, each with the keepRule for exclusions (the rest of the list still applies); proposalFormat - the JSON shape apply_solution_config expects. declaredNamespaces, referencedNamespaces and testProjects are capped (items/count/totalFound/truncated, max 300).
Read-only: writes no config or DB row, marks nothing initialized. Needs a live session (a recalled one is rejected; no re-analysis).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>"
},
"name": "init_solution_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |