#!/bin/bash
# Helper script to run web search using OpenClaw

query="$1"
output_file="$2"

# Use OpenClaw tool
cat << EOF | openclaw tool web_search > "$output_file" 2>/dev/null
{
  "query": "$query",
  "count": 10
}
EOF
