Decide TraeCN Approval
traecn_decide_approvalApprove or deny unsafe or ambiguous commands in TraeCN, requiring risk acknowledgment and audit reason for approvals.
Instructions
Approve or deny the unsafe or ambiguous command card currently visible in TraeCN. Approval revalidates the exact expectedCommand against the card and requires acknowledgeRisk plus an audit reason recorded locally; denial needs only the decision. Never approve beyond the scope the user authorized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | For approve, a concise authorization reason recorded in the local security audit log. | |
| decision | Yes | The approval decision. | |
| acknowledgeRisk | No | For approve, must be true after checking the command against the user-authorized scope. | |
| expectedCommand | No | For approve, the exact command returned with the pending interaction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Stable machine-readable result or error code. | |
| error | No | Error identifier or diagnostic when the operation failed. | |
| status | No | Stable operation or task status. | |
| taskId | No | Stable gateway task identifier. | |
| changed | No | Whether visible TraeCN state changed. | |
| message | No | Human-readable outcome summary. | |
| success | No | Whether the operation succeeded. | |
| retryable | No | Whether retrying the same call can succeed later. | |
| nextAction | No | Suggested next step after a failure. | |
| conversationId | No | Stable TraeCN conversation identifier. | |
| resumedTaskIds | No | Gateway tasks resumed automatically after the interaction resolved. |