Request Approval
swiftly_request_approvalRequest user approval before executing a destructive WordPress action. Returns an approval panel where the user can Approve or Decline. If no approval panel is visible to the user, share the approval_url link with them so they can approve in their browser. Do NOT proceed until the user has approved. Use swiftly_check_approval to poll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Site ID to target | |
| tool_name | Yes | The tool to execute after approval (e.g. wp_delete_user) | |
| tool_params | Yes | Parameters to pass to the tool | |
| preview_summary | Yes | Human-readable summary of what this action will do |