SuperAPI AI 工具集

brave-search

编程与开发

查看项目

更新于 10-16 00:30

技能介绍

用途:该技能用于在需要网络检索时通过 Brave Search API 获取搜索结果。

主要能力与参数:脚本支持设置返回结果上限(--count,默认 5)、结果集偏移(--offset,默认 0)、两位国家代码(--country)、搜索语言代码(--search-lang)、安全搜索模式(--safesearch,取值为 off、moderate、strict)、时效过滤(--freshness,取值为 day、week、month),并可选择输出规范化 JSON(--json)或原始 API 响应(--raw),以及查看帮助(--help)。

使用方式:运行 uv run --script {thisSkillDir}/scripts/brave-search.py "QUERY" [OPTIONS] --json。示例:uv run --script {thisSkillDir}/scripts/brave-search.py "observability tools" --count 3 --json。

适用场景:需要联网查询资料、检索网页信息并按数量、地区、语言、时效或安全级别筛选结果的场景。

限制:需通过 Brave Search API 使用,资料未提供 API 密钥配置、费用、速率限制与配额等信息;其他未提及的能力与平台支持情况暂未提供。