Get User Profile
get_user_profileGet an Instagram user's profile with optional extra sections: posts, reels, tagged, followers, and following.
Instructions
Get an Instagram user's profile.
Args: username: Instagram username (e.g., "instagram", "natgeo") ctx: FastMCP context for progress reporting sections: Comma-separated list of extra sections to scrape. The main profile page is always included. Available sections: posts, reels, tagged, followers, following Examples: "posts,reels", "tagged", "followers,following" Default (None) scrapes only the main profile page.
Returns: Dict with url, sections (name -> raw text), and optional references. Sections may be absent if extraction yielded no content for that page. Includes unknown_sections list when unrecognised names are passed. The LLM should parse the raw text in each section.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"username": "<username>"
},
"name": "get_user_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | No | ||
| username | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||