Turn automatic analysis on or off
statica_set_auto_analysisEnable or disable automatic Stop-hook analysis after each response for one project or globally; manual analysis commands keep working.
Instructions
Turn the Stop-hook analysis after each response on or off, for this project or globally. Commands such as statica_pre_analyze keep working either way. Local setting only.
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": {
"enabled": "<enabled>"
},
"name": "statica_set_auto_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| global | No | Apply to every project instead of this one. | |
| enabled | Yes | true to turn automatic analysis on, false to turn it off. | |
| projectDir | No | Absolute path of the project. Required unless global is true. |