feat: add count_posts aggregation tool to AI SDK and MCP server
This commit is contained in:
@@ -54,6 +54,7 @@ function createMockBlogToolDeps(): BlogToolDeps {
|
||||
getAllPosts: vi.fn(),
|
||||
getPostsFiltered: vi.fn(),
|
||||
searchPostsFiltered: vi.fn(),
|
||||
getPostCounts: vi.fn(),
|
||||
getCategoriesWithCounts: vi.fn().mockResolvedValue([]),
|
||||
getTagsWithCounts: vi.fn().mockResolvedValue([]),
|
||||
getLinkedBy: vi.fn().mockResolvedValue([]),
|
||||
|
||||
Reference in New Issue
Block a user