pandaone_install_hook
Install or uninstall a pre-commit hook that blocks commits without a structured audit record, ensuring every code change leaves a problem/reason/approach log.
Instructions
安装/卸载 pre-commit hook
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": {
"root": "<root>"
},
"name": "pandaone_install_hook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | . | |
| uninstall | No | True 则卸载 |