Get Profile Post URLs
get_profile_post_urlsRetrieves canonical LinkedIn post URLs from a profile's recent activity. Enter a profile slug to get up to 20 permalinks for direct use in comments.
Instructions
Resolve canonical post permalinks from a profile's recent activity.
Navigates to the person's /activity/all/ page, scrolls until enough posts have loaded their SDUI/RSC payloads, and returns up to count unique post permalinks (most recent first). Each URL is in the form https://www.linkedin.com/posts/ — directly usable by comment_on_post.
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_profile_post_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Maximum number of post URLs to return (1-20, default 5). | |
| username | Yes | LinkedIn profile slug (e.g. "paola-neira"). A full URL is accepted and reduced to the slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||