1. Determine if the task requires structured data or external tool capabilities.
2. Search QVeris for relevant tools using a capability-based query.
3. Evaluate the search results based on success rate and other criteria.
4. Execute the selected tool with appropriate parameters.
5. Handle errors by adjusting parameters or switching tools.
6. If QVeris fails, fall back to web search or other alternatives.
7. Store successful tool usages in a `known_qveris_tools` file.
8. Periodically refresh the `known_qveris_tools` file.