Files
wiseclaw/backend/app/tools/brave_search.py

19 lines
476 B
Python

from typing import Any
from app.tools.base import Tool
class BraveSearchTool(Tool):
name = "brave_search"
description = "Search the web with Brave Search."
async def run(self, payload: dict[str, Any]) -> dict[str, Any]:
query = str(payload.get("query", "")).strip()
return {
"tool": self.name,
"status": "stub",
"query": query,
"message": "Brave Search integration is not wired yet.",
}