Find and read documents from the database matching a query. Searches the index for relevant entries, then reads and synthesizes the content. Use this when the user wants to retrieve stored information.
Find and retrieve documents matching the user's query.
Use TaskCreate to create a task for each step below, then execute them in order. Mark each task in_progress when starting and completed when done using TaskUpdate.
Use the Skill tool to invoke the db-verify skill.
If verification fails, STOP execution and relay the error message to the user.
Use the Read tool to read database/index.md.
Parse the index to extract the list of documents. Each document entry follows the format:
- [Topic](filename.md) - Description
If the index shows "No documents yet." or has no document entries:
Analyze the user's query and search the index entries for relevant documents.
Match based on:
Create a list of relevant document filenames to read.
If no relevant documents are found:
For each relevant document identified in the previous step:
Use the Read tool to read database/<filename>.md
Collect the content from all relevant documents.
Combine the information from all read documents and present a clear, helpful response to the user's query.