Dev environment snapshot
get_session_snapshotDiagnoses a broken local dev environment in one call, returning a health verdict, likely cause, suggested fix, framework, git state, ports, recent log errors, and runtime versions.
Instructions
Diagnoses the user's local dev environment in one call: health verdict with the likely cause and a suggested fix, framework, git state (branch, uncommitted and conflicted files), dev server ports and who holds them, the 10 most recent log errors, and runtime versions. Call this first whenever the user reports something broken, before asking them what's wrong. Use the other tools only to dig deeper.
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": "get_session_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute path to the project root. Optional: defaults to the client's workspace root, or the server's working directory. |