mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-16 23:01:06 +02:00
refactor(mcp): align Instagram scraper tool with capability changes
This commit is contained in:
parent
27d22a9a2a
commit
ca7d23d33a
1 changed files with 2 additions and 2 deletions
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue