use crate::platform::windows::computer_use::send_click;
use crate::tool::computer_use::input::ComputerUseInput;
pub async fn handle_click(input: &ComputerUseInput) -> anyhow::Result<crate::tool::ToolResult> {
let (x, y) = super::validate::coords(input)?;
send_click(x, y)?;
Ok(super::super::response::success_result(serde_json::json!({
"clicked": true, "x": x, "y": y
})))
}