wm_explain
Get a clear explanation for any workspace path: its G1-G4 grade, why the policy graded it that way, and what cleanup would do. Read-only, with explicit errors for out-of-workspace paths.
Instructions
Return the 'nutrition label' for one path: the grade the policy assigns (G1-G4), why it is graded that way, and what cleanup would do to it. Use this when you or the user ask why a specific file or directory is (or is not) cleanup-worthy. Read-only; fails with a clear message if the path is outside the workspace or the policy is missing.
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": {
"path": "<path>"
},
"name": "wm_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to explain, relative to the workspace root (e.g. 'logs' or 'src/util.py'). |