sootool.policy_propose
Creates a policy draft and returns a 6-step validation report plus year-over-year changes without enacting it; requires admin mode.
Instructions
[관리자] 정책 초안을 만든다. 6단계 검증 보고서와 전년도 대비 변경점을 반환하며 아직 시행되지 않는다. 관리자 모드(SOOTOOL_ADMIN_MODE=1)가 아니면 error=admin_required 를 반환한다. 초안은 expires_at 에 만료되고 반영은 sootool.policy_activate 로 한다.
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": {
"domain": "<domain>",
"name": "<name>",
"year": "<year>",
"yaml_content": "<yaml_content>"
},
"name": "sootool.policy_propose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| year | Yes | ||
| domain | Yes | ||
| draft_id | No | ||
| notice_no | No | ||
| source_url | No | ||
| yaml_content | Yes | ||
| effective_date | No | ||
| auto_fix_sha256 | No | ||
| sensitivity_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | ||
| name | No | ||
| year | No | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| error | No | ||
| domain | No | ||
| message | No | ||
| draft_id | No | ||
| expires_at | No | ||
| validation | No |