通过 QVeris API 搜索并执行动态工具。适用于需要动态查找和调用外部 API/工具(如天气、搜索、数据获取、股票交易等)。
QVeris provides dynamic tool discovery and execution - search for tools by capability, then execute them with parameters.
Requires environment variable:
QVERIS_API_KEY - Get from https://qveris.aibash
uv run scripts/qveris_tool.py search "weather forecast API"
bash
uv run scripts/qveris_tool.py execute openweathermap_current_weather --search-id <id> --params '{"city": "London", "units": "metric"}'
text
scripts/qveris_tool.py <command> [options]
Commands:
search <query> Search for tools matching a capability description
execute <tool_id> Execute a specific tool with parameters
Options:
--limit N Max results for search (default: 5)
--search-id ID Search ID from previous search (required for execute)
--params JSON Tool parameters as JSON string
--max-size N Max response size in bytes (default: 20480)
--json Output raw JSON instead of formatted display
Search: Describe the capability needed (not specific parameters)
Select: Review tools by success_rate and avg_execution_time
Execute: Call tool with tool_id, search_id, and parameters
bash
# Find weather tools
uv run scripts/qveris_tool.py search "current weather data"
# Execute with returned tool_id and search_id
uv run scripts/qveris_tool.py execute openweathermap_current_weather \
--search-id abc123 \
--params '{"city": "Tokyo", "units": "metric"}'