“They were absolutely right,” Mr. DeWine said Tuesday morning at a news conference. “We must do something, and that is exactly what we are going to do.”

Representative Michael R. Turner, a Republican whose district includes Dayton, went further.

“I will support legislation that prevents the sale of military-style weapons to civilians, a magazine limit and red flag legislation,” he said in a statement Tuesday. “The carnage these military-style weapons are able to produce when available to the wrong people is intolerable.”

But in the Senate, where a background checks bill failed in 2013 after 26 children and staff members were gunned down at Sandy Hook Elementary School in Newtown, Conn., red flag laws may be the only gun-related measure that could squeeze through. President Trump endorsed the idea on Monday in a speech from the White House, giving skittish Republicans cover to embrace it.

The laws authorize courts to issue orders allowing police to temporarily confiscate firearms from a person deemed by a judge as posing a risk of violence. Often, requests for the orders come from relatives and friends concerned about a gun owner who expresses suicidal thoughts or threatens to harm others.

Senator John Thune of South Dakota, the No. 2 Republican, told his hometown newspaper, The Argus Leader, that he was “confident Congress will be able to find common ground on the so-called red flag issue.” Senator Lindsey Graham, Republican of South Carolina, has already proposed legislation that would offer federal grants to states to help them enact and enforce red flag laws, also known as “extreme risk protection orders.”