LinkedIn MCP Server for Cloudflare Workers
68 tools available in the LinkedIn MCP server. Each tool can be called by AI assistants to perform specific actions.
linkedin_list_ad_account_usersList users with access to an ad account.
Args:
Returns a list of users and their roles on the account.
{
"type": "object",
"required": [
"accountId"
],
"properties": {
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_get_ad_account_userGet a specific ad account user's access details.
Args:
Returns the user's role and permissions on the account.
{
"type": "object",
"required": [
"accountId",
"userUrn"
],
"properties": {
"userUrn": {
"type": "string",
"description": "User person URN"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_add_ad_account_userAdd a user to an ad account with a specific role.
Args:
Grants the user access to the ad account with the specified role.
{
"type": "object",
"required": [
"accountId",
"userUrn"
],
"properties": {
"userUrn": {
"type": "string",
"description": "User person URN"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_update_ad_account_userUpdate a user's role on an ad account.
Args:
Updates the user's role on the account.
{
"type": "object",
"required": [
"accountId",
"userUrn"
],
"properties": {
"userUrn": {
"type": "string",
"description": "User person URN"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_remove_ad_account_userRemove a user's access from an ad account.
Args:
Removes the user's access to the ad account.
{
"type": "object",
"required": [
"accountId",
"userUrn"
],
"properties": {
"userUrn": {
"type": "string",
"description": "User person URN"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_list_my_ad_accountsList ad accounts the authenticated user has access to.
Returns all ad accounts the current user can access along with their role on each.
{
"type": "object",
"properties": {}
}linkedin_list_ad_accountsList advertising accounts.
Args:
Returns a paginated list of ad accounts.
{
"type": "object",
"properties": {
"type": {
"type": "array",
"items": {
"type": "string"
},
"description": "Account type filter"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Page size"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
}
}
}linkedin_get_ad_accountGet details of a specific ad account.
Args:
Returns the ad account details.
{
"type": "object",
"required": [
"accountId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_create_ad_accountCreate a new advertising account.
Args:
Returns the created ad account.
{
"type": "object",
"required": [
"name",
"currency",
"reference"
],
"properties": {
"name": {
"type": "string",
"description": "Account name"
},
"test": {
"type": "boolean",
"default": false,
"description": "Is test account"
},
"currency": {
"type": "string",
"description": "Currency code (e.g., USD)"
},
"reference": {
"type": "string",
"description": "Organization URN"
}
}
}linkedin_update_ad_accountUpdate an advertising account.
Args:
Updates the specified fields on the ad account.
{
"type": "object",
"required": [
"accountId"
],
"properties": {
"name": {
"type": "string",
"description": "New account name"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_get_budget_pricingGet bid and budget recommendations for a campaign.
Args:
Returns suggested bids and budget limits based on targeting criteria.
{
"type": "object",
"required": [
"accountId",
"targetingCriteria"
],
"properties": {
"currency": {
"type": "string",
"default": "USD",
"description": "Currency code"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"matchType": {
"enum": [
"EXACT",
"AUDIENCE_EXPANDED"
],
"type": "string",
"default": "EXACT",
"description": "Match type"
},
"dailyBudget": {
"type": "string",
"description": "Daily budget amount"
},
"targetingCriteria": {
"type": "string",
"description": "JSON string of targeting criteria"
}
}
}linkedin_get_ad_analyticsGet advertising analytics/reporting data.
Args:
Available metrics:
Returns analytics data grouped by the specified pivot.
{
"type": "object",
"required": [
"startYear",
"startMonth",
"startDay"
],
"properties": {
"endDay": {
"type": "integer",
"default": "ALL",
"maximum": 31,
"minimum": 1,
"description": "End date day"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"endYear": {
"type": "integer",
"description": "End date year"
},
"accounts": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ad account URNs"
},
"endMonth": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "End date month"
},
"startDay": {
"type": "integer",
"maximum": 31,
"minimum": 1,
"description": "Start date day"
},
"campaigns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Campaign URNs"
},
"creatives": {
"type": "array",
"items": {
"type": "string"
},
"description": "Creative URNs"
},
"startYear": {
"type": "integer",
"description": "Start date year"
},
"startMonth": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Start date month"
}
}
}linkedin_create_campaign_groupCreate a new campaign group.
Args:
Returns the created campaign group.
{
"type": "object",
"required": [
"accountId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Campaign group name"
},
"status": {
"enum": [
"ACTIVE",
"DRAFT",
"PAUSED"
],
"type": "string",
"default": "DRAFT",
"description": "Initial status"
},
"endTime": {
"type": "number",
"description": "End timestamp (ms)"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"startTime": {
"type": "number",
"description": "Start timestamp (ms)"
},
"totalBudgetAmount": {
"type": "string",
"description": "Total budget amount"
},
"totalBudgetCurrency": {
"type": "string",
"default": "USD",
"description": "Budget currency"
}
}
}linkedin_get_ad_statisticsGet advertising statistics with multiple pivot dimensions.
Args:
Unlike linkedin_get_ad_analytics, this supports up to 3 pivots for multi-dimensional analysis.
{
"type": "object",
"required": [
"startYear",
"startMonth",
"startDay",
"pivots"
],
"properties": {
"endDay": {
"type": "integer",
"default": "ALL",
"maximum": 31,
"minimum": 1,
"description": "End date day"
},
"fields": {
"type": "array",
"items": {
"type": "string"
},
"description": "Metrics to retrieve"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"pivots": {
"type": "array",
"items": {
"type": "string"
},
"description": "Up to 3 grouping dimensions"
},
"endYear": {
"type": "integer",
"description": "End date year"
},
"accounts": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ad account URNs"
},
"endMonth": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "End date month"
},
"startDay": {
"type": "integer",
"maximum": 31,
"minimum": 1,
"description": "Start date day"
},
"campaigns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Campaign URNs"
},
"creatives": {
"type": "array",
"items": {
"type": "string"
},
"description": "Creative URNs"
},
"startYear": {
"type": "integer",
"description": "Start date year"
},
"startMonth": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "Start date month"
}
}
}linkedin_list_dmp_segmentsList DMP segments (matched audiences) for an ad account.
Args:
Returns a list of DMP segments including contact lists and website audiences.
{
"type": "object",
"required": [
"accountId"
],
"properties": {
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Page size"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
}
}
}linkedin_create_dmp_segmentCreate a new DMP segment (matched audience).
Args:
Returns the created DMP segment.
{
"type": "object",
"required": [
"accountId",
"name",
"type"
],
"properties": {
"name": {
"type": "string",
"description": "Segment name"
},
"type": {
"enum": [
"USER",
"COMPANY",
"LOOKALIKE"
],
"type": "string",
"description": "Segment type"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_delete_dmp_segmentDelete a DMP segment.
Args:
Permanently deletes the segment.
{
"type": "object",
"required": [
"segmentId"
],
"properties": {
"segmentId": {
"type": "string",
"description": "DMP segment ID"
}
}
}linkedin_add_users_to_dmp_segmentAdd hashed user emails to a DMP segment.
Args:
Adds users to the segment for targeting.
{
"type": "object",
"required": [
"segmentId",
"hashedEmails"
],
"properties": {
"segmentId": {
"type": "string",
"description": "DMP segment ID"
},
"hashedEmails": {
"type": "array",
"items": {
"type": "string"
},
"description": "SHA256-hashed emails"
}
}
}linkedin_remove_users_from_dmp_segmentRemove users from a DMP segment.
Args:
Removes users from the segment.
{
"type": "object",
"required": [
"segmentId",
"hashedEmails"
],
"properties": {
"segmentId": {
"type": "string",
"description": "DMP segment ID"
},
"hashedEmails": {
"type": "array",
"items": {
"type": "string"
},
"description": "SHA256-hashed emails"
}
}
}linkedin_add_companies_to_dmp_segmentAdd companies to a DMP segment for account-based targeting.
Args:
Adds companies to the segment for ABM targeting.
{
"type": "object",
"required": [
"segmentId",
"companyIds"
],
"properties": {
"segmentId": {
"type": "string",
"description": "DMP segment ID"
},
"companyIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Company identifiers"
}
}
}linkedin_list_ad_segmentsList ad segments (retargeting audiences) for ad accounts.
Args:
Returns website retargeting and other ad segments.
{
"type": "object",
"required": [
"accountIds"
],
"properties": {
"start": {
"type": "integer",
"default": 0,
"description": "Start index"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Page size"
},
"accountIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ad account URNs"
}
}
}linkedin_list_campaign_groupsList campaign groups for an ad account.
Args:
Returns a paginated list of campaign groups.
{
"type": "object",
"required": [
"accountId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"status": {
"type": "array",
"items": {
"type": "string"
},
"description": "Status filter"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Page size"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
}
}
}linkedin_get_campaign_groupGet details of a specific campaign group.
Args:
Returns the campaign group details.
{
"type": "object",
"required": [
"accountId",
"groupId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"groupId": {
"type": "string",
"description": "Campaign group ID"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_update_campaign_groupUpdate a campaign group.
Args:
Updates the specified fields on the campaign group.
{
"type": "object",
"required": [
"accountId",
"groupId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"groupId": {
"type": "string",
"description": "Campaign group ID"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"totalBudgetAmount": {
"type": "string",
"description": "Total budget amount"
},
"totalBudgetCurrency": {
"type": "string",
"description": "Budget currency"
}
}
}linkedin_list_campaignsList campaigns for an ad account.
Args:
Returns a paginated list of campaigns.
{
"type": "object",
"required": [
"accountId"
],
"properties": {
"type": {
"type": "array",
"items": {
"type": "string"
},
"description": "Type filter"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"status": {
"type": "array",
"items": {
"type": "string"
},
"description": "Status filter"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Page size"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"campaignGroupId": {
"type": "string",
"description": "Campaign group ID filter"
}
}
}linkedin_get_campaignGet details of a specific campaign.
Args:
Returns the campaign details.
{
"type": "object",
"required": [
"accountId",
"campaignId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"campaignId": {
"type": "string",
"description": "Campaign ID"
}
}
}linkedin_create_campaignCreate a new advertising campaign.
Args:
Returns the created campaign.
{
"type": "object",
"required": [
"accountId",
"campaignGroupId",
"name",
"localeCountry",
"localeLanguage",
"dailyBudgetAmount"
],
"properties": {
"name": {
"type": "string",
"description": "Campaign name"
},
"status": {
"enum": [
"ACTIVE",
"DRAFT",
"PAUSED"
],
"type": "string",
"default": "DRAFT",
"description": "Initial status"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"localeCountry": {
"type": "string",
"description": "Target country code (e.g., US)"
},
"localeLanguage": {
"type": "string",
"description": "Target language code (e.g., en)"
},
"unitCostAmount": {
"type": "string",
"description": "Bid amount"
},
"campaignGroupId": {
"type": "string",
"description": "Campaign group ID"
},
"dailyBudgetAmount": {
"type": "string",
"description": "Daily budget amount"
},
"dailyBudgetCurrency": {
"type": "string",
"default": "USD",
"description": "Budget currency"
},
"offsiteDeliveryEnabled": {
"type": "boolean",
"default": false,
"description": "Enable audience network"
}
}
}linkedin_update_campaignUpdate an advertising campaign.
Args:
Updates the specified fields on the campaign.
{
"type": "object",
"required": [
"accountId",
"campaignId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"campaignId": {
"type": "string",
"description": "Campaign ID"
},
"dailyBudgetAmount": {
"type": "string",
"description": "Daily budget amount"
},
"dailyBudgetCurrency": {
"type": "string",
"description": "Budget currency"
}
}
}linkedin_list_commentsList comments on a post or share.
Args:
Returns a paginated list of comments.
{
"type": "object",
"required": [
"entityUrn"
],
"properties": {
"count": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of comments"
},
"start": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Start index"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"entityUrn": {
"type": "string",
"description": "Post/share URN"
}
}
}linkedin_create_commentCreate a comment on a post or share.
Args:
Returns the created comment.
{
"type": "object",
"required": [
"entityUrn",
"actor",
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Comment text"
},
"actor": {
"type": "string",
"description": "Actor URN (person or organization)"
},
"entityUrn": {
"type": "string",
"description": "Post/share URN"
}
}
}linkedin_delete_commentDelete a comment.
Args:
{
"type": "object",
"required": [
"entityUrn",
"commentId",
"actor"
],
"properties": {
"actor": {
"type": "string",
"description": "Actor URN"
},
"commentId": {
"type": "string",
"description": "Comment ID"
},
"entityUrn": {
"type": "string",
"description": "Post/share URN"
}
}
}linkedin_list_conversionsList conversion rules for an ad account.
Args:
Returns all conversion rules configured for the account.
{
"type": "object",
"required": [
"accountId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
}
}
}linkedin_get_conversionGet a specific conversion rule.
Args:
Returns the conversion rule details.
{
"type": "object",
"required": [
"conversionId",
"accountId"
],
"properties": {
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"conversionId": {
"type": "string",
"description": "Conversion ID"
}
}
}linkedin_create_conversionCreate a new conversion rule for tracking.
Args:
Returns the created conversion rule.
{
"type": "object",
"required": [
"accountId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Conversion rule name"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"autoAssociate": {
"type": "boolean",
"default": true,
"description": "Auto-associate with all campaigns"
},
"conversionMethod": {
"enum": [
"CONVERSIONS_API",
"INSIGHT_TAG"
],
"type": "string",
"default": "CONVERSIONS_API",
"description": "Tracking method"
},
"postClickAttributionWindowSize": {
"type": "integer",
"default": 30,
"maximum": 90,
"minimum": 1,
"description": "Post-click window (days)"
},
"viewThroughAttributionWindowSize": {
"type": "integer",
"default": 7,
"maximum": 90,
"minimum": 1,
"description": "View-through window (days)"
}
}
}linkedin_update_conversionUpdate a conversion rule.
Args:
Updates the specified fields on the conversion rule.
{
"type": "object",
"required": [
"conversionId",
"accountId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"enabled": {
"type": "boolean",
"description": "Enable/disable"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"conversionId": {
"type": "string",
"description": "Conversion ID"
},
"postClickAttributionWindowSize": {
"type": "integer",
"maximum": 90,
"minimum": 1,
"description": "Post-click window"
},
"viewThroughAttributionWindowSize": {
"type": "integer",
"maximum": 90,
"minimum": 1,
"description": "View-through window"
}
}
}linkedin_associate_campaign_conversionAssociate a conversion rule with a campaign.
Args:
Associates the conversion rule with the campaign for tracking.
{
"type": "object",
"required": [
"campaignUrn",
"conversionUrn"
],
"properties": {
"campaignUrn": {
"type": "string",
"description": "Campaign URN"
},
"conversionUrn": {
"type": "string",
"description": "Conversion URN"
}
}
}linkedin_disassociate_campaign_conversionRemove a conversion rule association from a campaign.
Args:
Removes the conversion tracking from the campaign.
{
"type": "object",
"required": [
"campaignUrn",
"conversionUrn"
],
"properties": {
"campaignUrn": {
"type": "string",
"description": "Campaign URN"
},
"conversionUrn": {
"type": "string",
"description": "Conversion URN"
}
}
}linkedin_send_conversion_eventSend a conversion event to the Conversions API.
Args:
Sends a conversion event for attribution.
{
"type": "object",
"required": [
"conversionUrn",
"conversionHappenedAt",
"eventId",
"userHashedEmail"
],
"properties": {
"eventId": {
"type": "string",
"description": "Unique event ID"
},
"currencyCode": {
"type": "string",
"default": "USD",
"description": "Currency code"
},
"conversionUrn": {
"type": "string",
"description": "Conversion URN"
},
"conversionValue": {
"type": "string",
"description": "Conversion value"
},
"userHashedEmail": {
"type": "string",
"description": "SHA256-hashed user email"
},
"conversionHappenedAt": {
"type": "number",
"description": "Conversion timestamp (ms)"
}
}
}linkedin_list_creativesList creatives for an ad account.
Args:
Returns a paginated list of creatives.
{
"type": "object",
"required": [
"accountId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"pageSize": {
"type": "integer",
"default": 100,
"maximum": 100,
"minimum": 1,
"description": "Page size"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"campaignId": {
"type": "string",
"description": "Campaign ID filter"
},
"intendedStatus": {
"type": "array",
"items": {
"type": "string"
},
"description": "Status filter"
}
}
}linkedin_get_creativeGet details of a specific creative.
Args:
Returns the creative details.
{
"type": "object",
"required": [
"accountId",
"creativeId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"creativeId": {
"type": "string",
"description": "Creative ID (URN)"
}
}
}linkedin_create_creativeCreate a new creative.
Args:
Returns the created creative.
{
"type": "object",
"required": [
"accountId",
"campaignId",
"contentReference"
],
"properties": {
"name": {
"type": "string",
"default": "DRAFT') .describe('Initial status",
"description": "Creative name"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"campaignId": {
"type": "string",
"description": "Campaign ID (URN)"
},
"contentReference": {
"type": "string",
"description": "Content reference URN"
}
}
}linkedin_update_creativeUpdate a creative.
Args:
Updates the specified fields on the creative.
{
"type": "object",
"required": [
"accountId",
"creativeId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"accountId": {
"type": "string",
"description": "Ad account ID"
},
"creativeId": {
"type": "string",
"description": "Creative ID (URN)"
}
}
}linkedin_initialize_image_uploadInitialize an image upload to LinkedIn.
Args:
Returns upload instructions including uploadUrl and image URN. After receiving the response, upload your image binary to the uploadUrl using a PUT request.
{
"type": "object",
"required": [
"owner"
],
"properties": {
"owner": {
"type": "string",
"description": "Owner URN (organization or person)"
}
}
}linkedin_get_imageGet details of an uploaded image.
Args:
Returns image details including status and download URL.
{
"type": "object",
"required": [
"imageUrn"
],
"properties": {
"imageUrn": {
"type": "string",
"description": "Image URN"
}
}
}linkedin_initialize_video_uploadInitialize a video upload to LinkedIn.
Args:
Returns upload instructions including uploadUrl(s) and video URN. For large videos, multiple upload URLs may be provided for chunked upload.
{
"type": "object",
"required": [
"owner",
"fileSizeBytes"
],
"properties": {
"owner": {
"type": "string",
"description": "Owner URN (organization or person)"
},
"fileSizeBytes": {
"type": "integer",
"description": "Video file size in bytes"
},
"uploadCaptions": {
"type": "boolean",
"default": false,
"description": "Will upload captions"
},
"uploadThumbnail": {
"type": "boolean",
"default": false,
"description": "Will upload custom thumbnail"
}
}
}linkedin_finalize_video_uploadFinalize a video upload after all parts have been uploaded.
Args:
Call this after successfully uploading all video chunks.
{
"type": "object",
"required": [
"videoUrn",
"uploadToken",
"uploadedPartIds"
],
"properties": {
"videoUrn": {
"type": "string",
"description": "Video URN"
},
"uploadToken": {
"type": "string",
"description": "Upload token from initialization"
},
"uploadedPartIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Part IDs/ETags from uploaded chunks"
}
}
}linkedin_get_videoGet details of an uploaded video.
Args:
Returns video details including processing status and download URL.
{
"type": "object",
"required": [
"videoUrn"
],
"properties": {
"videoUrn": {
"type": "string",
"description": "Video URN"
}
}
}linkedin_initialize_document_uploadInitialize a document upload to LinkedIn.
Args:
Returns upload instructions including uploadUrl and document URN. Supported formats: PPT, PPTX, DOC, DOCX, PDF (max 100MB, 300 pages). After receiving the response, upload your document binary to the uploadUrl using a PUT request.
{
"type": "object",
"required": [
"owner"
],
"properties": {
"owner": {
"type": "string",
"description": "Owner URN (organization or person)"
}
}
}linkedin_get_documentGet details of an uploaded document.
Args:
Returns document details including status and download URL.
{
"type": "object",
"required": [
"documentUrn"
],
"properties": {
"documentUrn": {
"type": "string",
"description": "Document URN"
}
}
}linkedin_get_organizationGet organization details by ID.
Args:
Returns organization details including name, description, logo, and other profile information.
{
"type": "object",
"required": [
"organizationId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"organizationId": {
"type": "string",
"description": "Organization ID"
}
}
}linkedin_get_organization_by_vanity_nameFind an organization by its vanity name (URL slug).
Args:
Returns organization details.
{
"type": "object",
"required": [
"vanityName"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"vanityName": {
"type": "string",
"description": "Organization vanity name"
}
}
}linkedin_get_organization_follower_countGet the follower count for an organization.
Args:
Returns the total number of followers.
{
"type": "object",
"required": [
"organizationId"
],
"properties": {
"organizationId": {
"type": "string",
"description": "Organization ID"
}
}
}linkedin_get_organization_page_statisticsGet page statistics for an organization (views, visitors, etc.).
Args:
Returns page view statistics segmented by various dimensions.
{
"type": "object",
"required": [
"organizationId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"endTime": {
"type": "number",
"description": "End timestamp (ms)"
},
"startTime": {
"type": "number",
"description": "Start timestamp (ms)"
},
"organizationId": {
"type": "string",
"description": "Organization ID"
}
}
}linkedin_get_share_statisticsGet share/post statistics for an organization.
Args:
Returns engagement statistics including clicks, comments, likes, shares, and impressions.
{
"type": "object",
"required": [
"organizationId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"shares": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specific share URNs"
},
"organizationId": {
"type": "string",
"description": "Organization ID"
}
}
}linkedin_create_postCreate a new LinkedIn post.
Args:
Returns the created post.
{
"type": "object",
"required": [
"author"
],
"properties": {
"text": {
"type": "string",
"default": "PUBLIC') .describe('Post visibility",
"description": "Post text/commentary"
},
"author": {
"type": "string",
"description": "Author URN (person or organization)"
},
"mediaId": {
"type": "string",
"description": "Media URN (image or video)"
},
"articleUrl": {
"type": "string",
"description": "Article URL"
},
"mediaTitle": {
"type": "string",
"description": "Media title"
},
"articleTitle": {
"type": "string",
"description": "Article title"
},
"articleDescription": {
"type": "string",
"description": "Article description"
}
}
}linkedin_get_postGet a specific post by URN.
Args:
Returns the post details.
{
"type": "object",
"required": [
"postUrn"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"postUrn": {
"type": "string",
"description": "Post URN"
}
}
}linkedin_list_postsList posts by an author.
Args:
Returns a paginated list of posts.
{
"type": "object",
"required": [
"author"
],
"properties": {
"count": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of posts"
},
"start": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Start index"
},
"author": {
"type": "string",
"description": "Author URN (person or organization)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
}
}
}linkedin_update_postUpdate an existing post.
Args:
Note: Only commentary can be updated after creation.
{
"type": "object",
"required": [
"postUrn"
],
"properties": {
"text": {
"type": "string",
"description": "New commentary text"
},
"postUrn": {
"type": "string",
"description": "Post URN"
}
}
}linkedin_delete_postDelete a post.
Args:
{
"type": "object",
"required": [
"postUrn"
],
"properties": {
"postUrn": {
"type": "string",
"description": "Post URN"
}
}
}linkedin_get_profileGet the authenticated user's LinkedIn profile.
Returns the current user's profile information including name, headline, and profile picture.
{
"type": "object",
"properties": {}
}linkedin_list_reactionsList reactions on a post or comment.
Args:
Returns a paginated list of reactions.
{
"type": "object",
"required": [
"entityUrn"
],
"properties": {
"count": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of reactions"
},
"start": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Start index"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"entityUrn": {
"type": "string",
"description": "Post/share/comment URN"
}
}
}linkedin_create_reactionAdd a reaction to a post or comment.
Args:
Reaction types map to:
{
"type": "object",
"required": [
"actor",
"entityUrn"
],
"properties": {
"actor": {
"type": "string",
"description": "Actor URN"
},
"entityUrn": {
"type": "string",
"description": "Post/share/comment URN"
}
}
}linkedin_delete_reactionRemove a reaction from a post or comment.
Args:
{
"type": "object",
"required": [
"actor",
"entityUrn"
],
"properties": {
"actor": {
"type": "string",
"description": "Actor URN"
},
"entityUrn": {
"type": "string",
"description": "Post/share/comment URN"
}
}
}linkedin_get_targeting_facetsGet available ad targeting facets (high-level categories of targeting options).
Returns a list of targeting facets like genders, industries, seniorities, job functions, etc. Each facet includes available finders for querying specific entity values.
{
"type": "object",
"properties": {}
}linkedin_get_targeting_entities_by_facetGet targeting entity values within a specific facet.
Args:
Returns specific targeting options within the facet (e.g., all seniority levels).
{
"type": "object",
"required": [
"facet"
],
"properties": {
"facet": {
"type": "string",
"description": "Facet URN (e.g., urn:li:adTargetingFacet:seniorities)"
},
"localeCountry": {
"type": "string",
"description": "Country code (e.g., US)"
},
"localeLanguage": {
"type": "string",
"description": "Language code (e.g., en)"
}
}
}linkedin_search_targeting_entitiesSearch for targeting entities within a facet using typeahead.
Args:
Useful for finding specific employers, skills, titles, schools, etc. by partial text matching.
{
"type": "object",
"required": [
"facet",
"query"
],
"properties": {
"facet": {
"type": "string",
"description": "Facet URN"
},
"query": {
"type": "string",
"description": "Search query"
},
"localeCountry": {
"type": "string",
"description": "Country code"
},
"localeLanguage": {
"type": "string",
"description": "Language code"
}
}
}linkedin_get_targeting_entities_by_urnsGet targeting entity metadata by URNs.
Args:
Returns metadata and value information for the specified URNs.
{
"type": "object",
"required": [
"urns"
],
"properties": {
"urns": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of targeting entity URNs"
}
}
}linkedin_get_similar_targeting_entitiesGet targeting entities similar to provided entities.
Args:
Returns entities similar to the provided ones (e.g., similar employers).
{
"type": "object",
"required": [
"facet",
"entities"
],
"properties": {
"facet": {
"type": "string",
"description": "Facet URN"
},
"entities": {
"type": "array",
"items": {
"type": "string"
},
"description": "Entity URNs to find similar entities for"
}
}
}