chat_approve
Decide on pending implement/install actions from chat by approving or rejecting. Approval enables writes within the allowlisted working directory; rejection keeps the agent in read-only plan mode.
Instructions
Approve or reject pending implement/install actions from chat_send. Until Approve, Cursor stays plan-only (no writes, no Unity/apt/sudo). After Approve, the closer may write only inside the allowlisted cwd. Optional comment is stored on the thread.
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": {
"thread_id": "<thread_id>",
"decision": "<decision>"
},
"name": "chat_approve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional note stored with the decision | |
| decision | Yes | ||
| thread_id | Yes | Chat thread id that has pendingApproval |