QVeris 提供动态工具发现与执行能力——先按能力搜索工具,再传入参数执行。以下是基于现有资料整理的使用说明。
用途 QVeris Tool Search & Execution 用于动态查找并调用外部 API/工具。当需要按能力搜索外部 API/工具并动态调用时(例如天气、搜索、数据检索、股票等),可以使用该工具。
设置 需要配置环境变量 QVERIS_API_KEY,密钥可从 https://qveris.ai 获取。
快速开始 搜索工具: uv run scripts/qveris_tool.py search "weather forecast API"
执行工具: uv run scripts/qveris_tool.py execute openweathermap_current_weather --search-id <id> --params '{"city": "London", "units": "metric"}'
脚本用法 scripts/qveris_tool.py <command> [options]
命令:
- search <query>:搜索匹配能力描述的工具
- execute <tool_id>:使用参数执行指定工具
选项:
- --limit N:搜索结果最大数量(默认:5)
- --search-id ID:来自先前搜索的搜索 ID(执行时必需)
- --params JSON:工具参数,以 JSON 字符串形式传入
- --max-size N:响应最大字节数(默认:20480)
- --json:输出原始 JSON,而非格式化显示
工作流程
- 搜索:描述所需的能力(而不是具体参数)。 推荐:"weather forecast API" 不推荐:"get weather for London"
- 选择:根据 success_rate 和 avg_execution_time 查看工具。
- 执行:使用 tool_id、search_id 和参数调用工具。
示例会话
查找天气工具
uv run scripts/qveris_tool.py search "current weather data"
使用返回的 tool_id 和 search_id 执行
uv run scripts/qveris_tool.py execute openweathermap_current_weather
--search-id abc123
--params '{"city": "Tokyo", "units": "metric"}'
使用场景
- 天气数据:获取任意位置的当前天气、预报
- 股票市场:查询股票价格、历史数据、财报日历
- 搜索:网页搜索、新闻检索
- 数据 API:货币汇率、地理定位、翻译
- 以及更多:QVeris 聚合了数千个 API 工具
限制 现有资料未提供关于收费、价格、平台、效果或具体支持工具清单的更多信息,这些内容暂未提供。