pandaone_init
Initialize a project directory for Pandaone Guard by creating the .pandaone/ structure, config.json, and pandaone.jsonl files that enforce structured audit logging for AI code changes before commit.
Instructions
在指定目录初始化 Pandaone AI Agent(创建 .pandaone/、config.json、pandaone.jsonl、可选 binary_snapshots.json)
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_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | No | 自定义受保护扩展名(如 ['.py', '.md']) | |
| root | Yes | 项目根目录路径 | . |
| no_binary | No | 禁用二进制 SHA256 快照保护 |