LinkedIn: Get profile
linkedin_get_profileGet a LinkedIn person's full profile from a LinkedIn provider user ID, public identifier, or linkedin.com/in/... URL using the user's own account. Use it to retrieve a profile and resolve its stable ID from a supplied URL. The result contains the stable user id needed by linkedin_start_conversation and linkedin_send_invitation. Optional sections can retrieve experience, skills, interests and other profile details.
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": {
"user_id_or_url": "<user_id_or_url>"
},
"name": "linkedin_get_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | No | ||
| account_id | No | Optional Nilyo connection ID (unipile_account_id from list_connected_accounts). Omit when the user has one account for this provider. When several exist, Nilyo never guesses: list them (display name, identifier, provider user ID), choose the one the user named or ask, and pass its ID here. | |
| with_sections | No | Classic-only optional sections such as linkedin_experience, linkedin_skills or preview variants. | |
| user_id_or_url | Yes | LinkedIn user ID (for example ACo...), public identifier, or full linkedin.com/in/... profile URL. |