LinkedIn Ads
linkedin_native_actionComplete LinkedIn Marketing API native gateway generated from the local li-lms-2026-05 documentation snapshot: ads, accounts, creatives, audiences, conversions, lead sync, community management, media, events, experiments, analytics, and REST.li batch/action endpoints. Use action=LIST_ACTIONS or DESCRIBE_ACTION for local discovery, including ad-account user access. Writes are dry-run by default.
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": {
"action": "<action>"
},
"name": "linkedin_native_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | With LIST_ACTIONS, return at most this many actions. Defaults to 50 to stay inside MCP transport limits. | |
| query | No | Explicit URL query parameters; overrides duplicate keys from params. | |
| action | Yes | Generated LinkedIn native action name, LIST_ACTIONS, or DESCRIBE_ACTION. Search adAccountUsers or organizationAcls to discover access-management operations. | |
| offset | No | With LIST_ACTIONS, continue from this zero-based action offset. | |
| params | No | LinkedIn REST.li query/finder/action parameters. params and query are always placed in the URL, including for write requests. | |
| search | No | With LIST_ACTIONS, filter by action name, resource, or endpoint. | |
| compact | No | Return compact projected results while preserving failures and pagination metadata. | |
| dry_run | No | Writes default to dry-run. Pass false to execute after reviewing the request preview. | |
| payload | No | JSON request body for POST/PUT/PATCH actions. Accepts an object, a REST.li batch array, or a stringified JSON object/array for cached-client compatibility. Never used as URL query parameters. | |
| category | No | With LIST_ACTIONS, filter by documentation category. | |
| confirmed | No | Required with dry_run:false for destructive DELETE actions. | |
| max_items | No | Optional maximum list items returned after projection. | |
| read_only | No | With LIST_ACTIONS, filter read or write operations. | |
| api_version | No | Optional Linkedin-Version override in YYYYMM format. | |
| body_format | No | Request body encoding. Use form with http_method_override for REST.li query tunneling; defaults to json. | |
| path_params | No | Path placeholder values. Required values may also be passed top-level. | |
| connection_id | No | Optional explicit LinkedIn OAuth connection ID for users with multiple LinkedIn accounts. | |
| restli_method | No | Optional X-RestLi-Method override for REST.li create, finder, action, update, partial-update, and batch semantics. | |
| result_fields | No | Optional compact result projection. Errors and partial failures are always preserved. | |
| target_action | No | Action to inspect when action=DESCRIBE_ACTION. | |
| http_method_override | No | Optional X-HTTP-Method-Override for LinkedIn query tunneling. |