feat: add vote_flashcard MCP tool

This commit is contained in:
didier committed 2026-06-05 17:04:05 -04:00
1 parent cd8e872491
commit a40542f7b4
4 files changed
+143

No files matched your search

+10
View File
@@ -14,6 +14,16 @@ type entry struct {
Created string `json:"created"`
}
type vote struct {
ID int64 `json:"_id"`
FlashcardID int64 `json:"flashcard_id"`
Value int `json:"value"`
User string `json:"user"`
Repo string `json:"repo"`
Message string `json:"message"`
Created string `json:"created"`
}
type searchResult struct {
Entry entry `json:",inline"`
Score float32 `json:"score"`