assess_and_gate
Assesses risk of a user request; if dangerous, creates an approval ticket and requires user decision via Cursor form before executing the action.
Instructions
BUILTIN POLICY: Assess risk; if dangerous, create a ticket and request approval via Cursor in-IDE form (MCP elicitation). Returns approved/rejected when user decides in Cursor. Fallback: pending + chat/panel instructions. Call BEFORE side effects. Do NOT execute while pending/rejected.
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": {
"intent": "<intent>"
},
"name": "assess_and_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Optional explicit action id, e.g. delete_files | |
| intent | Yes | User request or proposed action in natural language | |
| params | No | Optional params to lock into the approval ticket | |
| requester | No | ||
| auto_create | No | Auto-create ticket when risky (default true) | |
| ttl_seconds | No |