From ca7d23d33a6da5b92397a6567ecd88a34ab46b65 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Sat, 11 Jul 2026 03:25:23 +0530 Subject: [PATCH] refactor(mcp): align Instagram scraper tool with capability changes --- .../mcp_server/features/scrapers/platforms/instagram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/surfsense_mcp/mcp_server/features/scrapers/platforms/instagram.py b/surfsense_mcp/mcp_server/features/scrapers/platforms/instagram.py index 9683e6581..28ad34e66 100644 --- a/surfsense_mcp/mcp_server/features/scrapers/platforms/instagram.py +++ b/surfsense_mcp/mcp_server/features/scrapers/platforms/instagram.py @@ -13,7 +13,7 @@ from ....core.workspace_context import WorkspaceContext, WorkspaceParam from ..annotations import SCRAPE from ..capability import run_scraper -ResultType = Literal["posts", "reels", "mentions"] +ResultType = Literal["posts", "reels"] SearchType = Literal["profile", "user"] @@ -50,7 +50,7 @@ def register( ] = "profile", result_type: Annotated[ ResultType, - Field(description="Which feed to return. 'mentions' needs profile URLs."), + Field(description="Which feed to return: 'posts' or 'reels'."), ] = "posts", max_items: Annotated[ int, Field(ge=1, description="Maximum items to return across sources.")