venom_save_draft
Verify a CSL policy draft and save it to .csl/venom/drafts only if parsing, validation, and Z3 checks pass. It never activates policies; operators review drafts before activation.
Instructions
Verify a CSL draft (parse, validate, Z3) and, only if it passes, save it to the workspace's .csl/venom/drafts/. Never activates anything: the operator reviews and activates drafts with the cslcore CLI.
Args: agent_id: the agent the draft is for. csl_content: complete CSL policy source. note: one line explaining the draft (kept as a comment). workspace: Venom workspace folder.
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": {
"agent_id": "<agent_id>",
"csl_content": "<csl_content>"
},
"name": "venom_save_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| agent_id | Yes | ||
| workspace | No | ||
| csl_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |