@linkedapi/mcp 2.3.7 → 2.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ class FetchJobTool extends linked_api_tool_js_1.OperationTool {
13
13
  getTool() {
14
14
  return {
15
15
  name: this.name,
16
- description: 'Open a LinkedIn job and retrieve its details such as company, location, salary, and description (st.openJob action). The result carries urn — the permanent LinkedIn job posting URN (urn:li:jobPosting:<jobId>) — and companyUrn for the hiring company (urn:li:organization:<id>); either is null when LinkedIn does not expose the identifier.',
16
+ description: 'Open a LinkedIn job and retrieve its details such as company, location, salary, and description (st.openJob action). The result carries urn — the permanent LinkedIn job posting URN (urn:li:jobPosting:<jobId>) — which is null when LinkedIn does not expose the identifier.',
17
17
  inputSchema: {
18
18
  type: 'object',
19
19
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-job.js","sourceRoot":"","sources":["../../src/tools/fetch-job.ts"],"names":[],"mappings":";;;AAAA,0CAAsE;AAEtE,6BAAwB;AAExB,oEAA4D;AAE5D,MAAa,YAAa,SAAQ,kCAA2C;IAClD,IAAI,GAAG,WAAW,CAAC;IACnB,aAAa,GAAG,qBAAc,CAAC,QAAQ,CAAC;IACrC,MAAM,GAAG,OAAC,CAAC,MAAM,CAAC;QAC5C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;KACnB,CAAC,CAAC;IAEa,OAAO;QACrB,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EACT,mVAAmV;YACrV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,mFAAmF;qBACtF;iBACF;gBACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;aACrB;SACF,CAAC;IACJ,CAAC;CACF;AAzBD,oCAyBC"}
1
+ {"version":3,"file":"fetch-job.js","sourceRoot":"","sources":["../../src/tools/fetch-job.ts"],"names":[],"mappings":";;;AAAA,0CAAsE;AAEtE,6BAAwB;AAExB,oEAA4D;AAE5D,MAAa,YAAa,SAAQ,kCAA2C;IAClD,IAAI,GAAG,WAAW,CAAC;IACnB,aAAa,GAAG,qBAAc,CAAC,QAAQ,CAAC;IACrC,MAAM,GAAG,OAAC,CAAC,MAAM,CAAC;QAC5C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;KACnB,CAAC,CAAC;IAEa,OAAO;QACrB,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EACT,gRAAgR;YAClR,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,mFAAmF;qBACtF;iBACF;gBACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;aACrB;SACF,CAAC;IACJ,CAAC;CACF;AAzBD,oCAyBC"}
@@ -23,7 +23,7 @@ class GetInboxTool extends linked_api_tool_js_1.LinkedApiTool {
23
23
  getTool() {
24
24
  return {
25
25
  name: this.name,
26
- description: 'Get messages from the monitored inbox across all conversations (standard and Sales Navigator), newest first. Requires inbox monitoring to be enabled once with sync_inbox (or nv_sync_inbox for Sales Navigator). Every message carries personUrn — the permanent LinkedIn member URN (urn:li:member:<id>) of the person on the other side of the thread, or null when LinkedIn does not expose it.',
26
+ description: "Get messages from the monitored inbox across all conversations (standard and Sales Navigator), newest first. Requires inbox monitoring to be enabled once with sync_inbox (or nv_sync_inbox for Sales Navigator). Every message carries personUrn — the permanent LinkedIn member URN (urn:li:member:<id>) of the person on the other side of the thread, or null when LinkedIn does not expose it. personHashedUrl is LinkedIn's hashed profile URL and is always present; personPublicUrl is the public vanity URL when that person has been resolved, otherwise null.",
27
27
  inputSchema: {
28
28
  type: 'object',
29
29
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"get-inbox.js","sourceRoot":"","sources":["../../src/tools/get-inbox.ts"],"names":[],"mappings":";;;;;;AAEA,8CAAoB;AAEpB,oEAA4D;AAE5D,MAAa,YAAa,SAAQ,kCAAkD;IAClE,IAAI,GAAG,WAAW,CAAC;IAChB,MAAM,GAAG,aAAC,CAAC,MAAM,CAAC;QACnC,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,IAAI,EAAE,aAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;QACrC,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAChC,CAAC,CAAC;IAEa,KAAK,CAAC,OAAO,CAAC,EAC5B,SAAS,EACT,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,GAIhC;QACC,OAAO,SAAS,CAAC,SAAS,CAAC;YACzB,KAAK;YACL,IAAI;YACJ,QAAQ;SACT,CAAC,CAAC;IACL,CAAC;IAEe,OAAO;QACrB,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EACT,qYAAqY;YACvY,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,4JAA4J;qBAC/J;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;wBAClB,WAAW,EACT,2HAA2H;qBAC9H;oBACD,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,oFAAoF;qBACvF;iBACF;gBACD,QAAQ,EAAE,EAAE;aACb;SACF,CAAC;IACJ,CAAC;CACF;AAnDD,oCAmDC"}
1
+ {"version":3,"file":"get-inbox.js","sourceRoot":"","sources":["../../src/tools/get-inbox.ts"],"names":[],"mappings":";;;;;;AAEA,8CAAoB;AAEpB,oEAA4D;AAE5D,MAAa,YAAa,SAAQ,kCAAkD;IAClE,IAAI,GAAG,WAAW,CAAC;IAChB,MAAM,GAAG,aAAC,CAAC,MAAM,CAAC;QACnC,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,IAAI,EAAE,aAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;QACrC,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAChC,CAAC,CAAC;IAEa,KAAK,CAAC,OAAO,CAAC,EAC5B,SAAS,EACT,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,GAIhC;QACC,OAAO,SAAS,CAAC,SAAS,CAAC;YACzB,KAAK;YACL,IAAI;YACJ,QAAQ;SACT,CAAC,CAAC;IACL,CAAC;IAEe,OAAO;QACrB,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EACT,0iBAA0iB;YAC5iB,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,4JAA4J;qBAC/J;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;wBAClB,WAAW,EACT,2HAA2H;qBAC9H;oBACD,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,oFAAoF;qBACvF;iBACF;gBACD,QAAQ,EAAE,EAAE;aACb;SACF,CAAC;IACJ,CAAC;CACF;AAnDD,oCAmDC"}
@@ -8,6 +8,8 @@ export declare class SearchJobsTool extends OperationTool<TSearchJobsParams, unk
8
8
  protected readonly schema: z.ZodObject<{
9
9
  term: z.ZodOptional<z.ZodString>;
10
10
  limit: z.ZodOptional<z.ZodNumber>;
11
+ location: z.ZodOptional<z.ZodString>;
12
+ allowSimilarResults: z.ZodOptional<z.ZodBoolean>;
11
13
  filter: z.ZodOptional<z.ZodObject<{
12
14
  location: z.ZodOptional<z.ZodString>;
13
15
  datePosted: z.ZodOptional<z.ZodEnum<{
@@ -47,6 +49,34 @@ export declare class SearchJobsTool extends OperationTool<TSearchJobsParams, unk
47
49
  inYourNetwork: z.ZodOptional<z.ZodBoolean>;
48
50
  fairChanceEmployer: z.ZodOptional<z.ZodBoolean>;
49
51
  }, z.core.$strip>>;
52
+ preferences: z.ZodOptional<z.ZodObject<{
53
+ datePosted: z.ZodOptional<z.ZodEnum<{
54
+ anyTime: "anyTime";
55
+ past24Hours: "past24Hours";
56
+ pastWeek: "pastWeek";
57
+ pastMonth: "pastMonth";
58
+ }>>;
59
+ experienceLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
60
+ entryLevel: "entryLevel";
61
+ director: "director";
62
+ executive: "executive";
63
+ senior: "senior";
64
+ manager: "manager";
65
+ }>>>;
66
+ employmentTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
67
+ internship: "internship";
68
+ fullTime: "fullTime";
69
+ partTime: "partTime";
70
+ contract: "contract";
71
+ volunteer: "volunteer";
72
+ }>>>;
73
+ companies: z.ZodOptional<z.ZodArray<z.ZodString>>;
74
+ remote: z.ZodOptional<z.ZodBoolean>;
75
+ easyApply: z.ZodOptional<z.ZodBoolean>;
76
+ under10Applicants: z.ZodOptional<z.ZodBoolean>;
77
+ inYourNetwork: z.ZodOptional<z.ZodBoolean>;
78
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
79
+ }, z.core.$strip>>;
50
80
  customSearchUrl: z.ZodOptional<z.ZodString>;
51
81
  }, z.core.$strip>;
52
82
  getTool(): Tool;
@@ -1 +1 @@
1
- {"version":3,"file":"search-jobs.d.ts","sourceRoot":"","sources":["../../src/tools/search-jobs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,qBAAa,cAAe,SAAQ,aAAa,CAAC,iBAAiB,EAAE,OAAO,CAAC;IAC3E,SAAyB,IAAI,iBAAiB;IAC9C,SAAyB,aAAa,eAA6B;IACnE,mBAA4B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA4C/B;IAEa,OAAO,IAAI,IAAI;CAoHhC"}
1
+ {"version":3,"file":"search-jobs.d.ts","sourceRoot":"","sources":["../../src/tools/search-jobs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,qBAAa,cAAe,SAAQ,aAAa,CAAC,iBAAiB,EAAE,OAAO,CAAC;IAC3E,SAAyB,IAAI,iBAAiB;IAC9C,SAAyB,aAAa,eAA6B;IACnE,mBAA4B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA+D/B;IAEa,OAAO,IAAI,IAAI;CAuLhC"}
@@ -10,6 +10,8 @@ class SearchJobsTool extends linked_api_tool_js_1.OperationTool {
10
10
  schema = zod_1.z.object({
11
11
  term: zod_1.z.string().optional(),
12
12
  limit: zod_1.z.number().min(1).max(1000).optional(),
13
+ location: zod_1.z.string().optional(),
14
+ allowSimilarResults: zod_1.z.boolean().optional(),
13
15
  filter: zod_1.z
14
16
  .object({
15
17
  location: zod_1.z.string().optional(),
@@ -46,12 +48,29 @@ class SearchJobsTool extends linked_api_tool_js_1.OperationTool {
46
48
  fairChanceEmployer: zod_1.z.boolean().optional(),
47
49
  })
48
50
  .optional(),
51
+ preferences: zod_1.z
52
+ .object({
53
+ datePosted: zod_1.z.enum(['anyTime', 'past24Hours', 'pastWeek', 'pastMonth']).optional(),
54
+ experienceLevels: zod_1.z
55
+ .array(zod_1.z.enum(['entryLevel', 'senior', 'manager', 'director', 'executive']))
56
+ .optional(),
57
+ employmentTypes: zod_1.z
58
+ .array(zod_1.z.enum(['fullTime', 'partTime', 'contract', 'internship', 'volunteer']))
59
+ .optional(),
60
+ companies: zod_1.z.array(zod_1.z.string()).optional(),
61
+ remote: zod_1.z.boolean().optional(),
62
+ easyApply: zod_1.z.boolean().optional(),
63
+ under10Applicants: zod_1.z.boolean().optional(),
64
+ inYourNetwork: zod_1.z.boolean().optional(),
65
+ keywords: zod_1.z.array(zod_1.z.string()).optional(),
66
+ })
67
+ .optional(),
49
68
  customSearchUrl: zod_1.z.string().optional(),
50
69
  });
51
70
  getTool() {
52
71
  return {
53
72
  name: this.name,
54
- description: 'Allows you to search jobs applying various filtering criteria (st.searchJobs action). Every job in the result carries urn — its permanent LinkedIn job posting URN (urn:li:jobPosting:<jobId>), or null when the job id could not be extracted.',
73
+ description: 'Allows you to search jobs applying various filtering criteria (st.searchJobs action). LinkedIn serves either a classic or an AI-powered jobs search, and the two do not offer the same refinements: send filter for the classic one or preferences for the AI-powered one, never both. Every job in the result carries urn — its permanent LinkedIn job posting URN (urn:li:jobPosting:<jobId>), or null when the job id could not be extracted — and isSimilarMatch, telling whether LinkedIn returned it as a near match rather than an exact one.',
55
74
  inputSchema: {
56
75
  type: 'object',
57
76
  properties: {
@@ -63,13 +82,21 @@ class SearchJobsTool extends linked_api_tool_js_1.OperationTool {
63
82
  type: 'number',
64
83
  description: 'Optional. Number of search results to return. Defaults to 10, with a maximum value of 1000.',
65
84
  },
85
+ location: {
86
+ type: 'string',
87
+ description: 'Optional. Free-form location string. Applied on both versions of LinkedIn jobs search.',
88
+ },
89
+ allowSimilarResults: {
90
+ type: 'boolean',
91
+ description: 'Optional. Defaults to true. When false, near matches are excluded from the results, so fewer results than limit may be returned. Only relevant to the AI-powered search.',
92
+ },
66
93
  filter: {
67
94
  type: 'object',
68
- description: 'Optional. Object that specifies filtering criteria for jobs. When multiple filter fields are specified, they are combined using AND logic.',
95
+ description: 'Optional. Filtering criteria for the classic LinkedIn jobs search. Every specified field is applied, or the action fails. When multiple filter fields are specified, they are combined using AND logic. Mutually exclusive with preferences.',
69
96
  properties: {
70
97
  location: {
71
98
  type: 'string',
72
- description: 'Optional. Free-form location string.',
99
+ description: 'Optional. Deprecated, use the top-level location instead.',
73
100
  },
74
101
  datePosted: {
75
102
  type: 'string',
@@ -152,9 +179,62 @@ class SearchJobsTool extends linked_api_tool_js_1.OperationTool {
152
179
  },
153
180
  },
154
181
  },
182
+ preferences: {
183
+ type: 'object',
184
+ description: "Optional. Filtering criteria for the AI-powered LinkedIn jobs search. LinkedIn decides which of them it offers for a given search, and the ones it does not offer are skipped instead of failing the action. Mutually exclusive with filter. When the account's version of LinkedIn jobs search cannot apply the criteria that were sent, the action fails with searchInterfaceMismatch.",
185
+ properties: {
186
+ datePosted: {
187
+ type: 'string',
188
+ enum: ['anyTime', 'past24Hours', 'pastWeek', 'pastMonth'],
189
+ description: 'Optional. How recently the job was posted.',
190
+ },
191
+ experienceLevels: {
192
+ type: 'array',
193
+ description: 'Optional. Array of experience levels, where senior corresponds to midSeniorLevel in filter.',
194
+ items: {
195
+ type: 'string',
196
+ enum: ['entryLevel', 'senior', 'manager', 'director', 'executive'],
197
+ },
198
+ },
199
+ employmentTypes: {
200
+ type: 'array',
201
+ description: 'Optional. Array of employment types.',
202
+ items: {
203
+ type: 'string',
204
+ enum: ['fullTime', 'partTime', 'contract', 'internship', 'volunteer'],
205
+ },
206
+ },
207
+ companies: {
208
+ type: 'array',
209
+ description: 'Optional. Array of company names.',
210
+ items: { type: 'string' },
211
+ },
212
+ remote: {
213
+ type: 'boolean',
214
+ description: 'Optional. When true, only remote jobs. The AI-powered search has no on-site or hybrid equivalent.',
215
+ },
216
+ easyApply: {
217
+ type: 'boolean',
218
+ description: 'Optional. When true, only jobs with Easy Apply.',
219
+ },
220
+ under10Applicants: {
221
+ type: 'boolean',
222
+ description: 'Optional. When true, only jobs with fewer than 10 applicants.',
223
+ },
224
+ inYourNetwork: {
225
+ type: 'boolean',
226
+ description: 'Optional. When true, only jobs from your network.',
227
+ },
228
+ keywords: {
229
+ type: 'array',
230
+ description: 'Optional. Array of free-form skills, technologies or topics to narrow the search by, such as AWS or Fintech. LinkedIn suggests a different set for every search.',
231
+ items: { type: 'string' },
232
+ },
233
+ },
234
+ },
155
235
  customSearchUrl: {
156
236
  type: 'string',
157
- description: 'Optional. URL copied from a LinkedIn jobs search page. When specified, overrides term and filter.',
237
+ description: 'Optional. URL copied from a LinkedIn jobs search page. When specified, overrides term, location, filter and preferences.',
158
238
  },
159
239
  },
160
240
  },
@@ -1 +1 @@
1
- {"version":3,"file":"search-jobs.js","sourceRoot":"","sources":["../../src/tools/search-jobs.ts"],"names":[],"mappings":";;;AAAA,0CAAoE;AAEpE,6BAAwB;AAExB,oEAA4D;AAE5D,MAAa,cAAe,SAAQ,kCAAyC;IAClD,IAAI,GAAG,aAAa,CAAC;IACrB,aAAa,GAAG,qBAAc,CAAC,UAAU,CAAC;IACvC,MAAM,GAAG,OAAC,CAAC,MAAM,CAAC;QAC5C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;QAC7C,MAAM,EAAE,OAAC;aACN,MAAM,CAAC;YACN,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC/B,UAAU,EAAE,OAAC,CAAC,IAA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AW,EACT,kKAAkK;gCACpK,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6BAC1B;yBACF;qBACF;oBACD,eAAe,EAAE;wBACf,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,0HAA0H;qBAC7H;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF;AA3PD,wCA2PC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linkedapi/mcp",
3
- "version": "2.3.7",
3
+ "version": "2.3.9",
4
4
  "description": "MCP server that lets AI assistants control LinkedIn accounts and retrieve real-time data.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -30,7 +30,7 @@
30
30
  "author": "Linked API",
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@linkedapi/node": "^2.3.9",
33
+ "@linkedapi/node": "^2.3.11",
34
34
  "@modelcontextprotocol/sdk": "^1.17.4",
35
35
  "zod": "^4.1.1"
36
36
  },
@@ -15,7 +15,7 @@ export class FetchJobTool extends OperationTool<TBaseFetchJobParams, unknown> {
15
15
  return {
16
16
  name: this.name,
17
17
  description:
18
- 'Open a LinkedIn job and retrieve its details such as company, location, salary, and description (st.openJob action). The result carries urn — the permanent LinkedIn job posting URN (urn:li:jobPosting:<jobId>) — and companyUrn for the hiring company (urn:li:organization:<id>); either is null when LinkedIn does not expose the identifier.',
18
+ 'Open a LinkedIn job and retrieve its details such as company, location, salary, and description (st.openJob action). The result carries urn — the permanent LinkedIn job posting URN (urn:li:jobPosting:<jobId>) — which is null when LinkedIn does not expose the identifier.',
19
19
  inputSchema: {
20
20
  type: 'object',
21
21
  properties: {
@@ -30,7 +30,7 @@ export class GetInboxTool extends LinkedApiTool<TInboxPollRequest, TInboxPollRes
30
30
  return {
31
31
  name: this.name,
32
32
  description:
33
- 'Get messages from the monitored inbox across all conversations (standard and Sales Navigator), newest first. Requires inbox monitoring to be enabled once with sync_inbox (or nv_sync_inbox for Sales Navigator). Every message carries personUrn — the permanent LinkedIn member URN (urn:li:member:<id>) of the person on the other side of the thread, or null when LinkedIn does not expose it.',
33
+ "Get messages from the monitored inbox across all conversations (standard and Sales Navigator), newest first. Requires inbox monitoring to be enabled once with sync_inbox (or nv_sync_inbox for Sales Navigator). Every message carries personUrn — the permanent LinkedIn member URN (urn:li:member:<id>) of the person on the other side of the thread, or null when LinkedIn does not expose it. personHashedUrl is LinkedIn's hashed profile URL and is always present; personPublicUrl is the public vanity URL when that person has been resolved, otherwise null.",
34
34
  inputSchema: {
35
35
  type: 'object',
36
36
  properties: {
@@ -10,6 +10,8 @@ export class SearchJobsTool extends OperationTool<TSearchJobsParams, unknown> {
10
10
  protected override readonly schema = z.object({
11
11
  term: z.string().optional(),
12
12
  limit: z.number().min(1).max(1000).optional(),
13
+ location: z.string().optional(),
14
+ allowSimilarResults: z.boolean().optional(),
13
15
  filter: z
14
16
  .object({
15
17
  location: z.string().optional(),
@@ -50,6 +52,23 @@ export class SearchJobsTool extends OperationTool<TSearchJobsParams, unknown> {
50
52
  fairChanceEmployer: z.boolean().optional(),
51
53
  })
52
54
  .optional(),
55
+ preferences: z
56
+ .object({
57
+ datePosted: z.enum(['anyTime', 'past24Hours', 'pastWeek', 'pastMonth']).optional(),
58
+ experienceLevels: z
59
+ .array(z.enum(['entryLevel', 'senior', 'manager', 'director', 'executive']))
60
+ .optional(),
61
+ employmentTypes: z
62
+ .array(z.enum(['fullTime', 'partTime', 'contract', 'internship', 'volunteer']))
63
+ .optional(),
64
+ companies: z.array(z.string()).optional(),
65
+ remote: z.boolean().optional(),
66
+ easyApply: z.boolean().optional(),
67
+ under10Applicants: z.boolean().optional(),
68
+ inYourNetwork: z.boolean().optional(),
69
+ keywords: z.array(z.string()).optional(),
70
+ })
71
+ .optional(),
53
72
  customSearchUrl: z.string().optional(),
54
73
  });
55
74
 
@@ -57,7 +76,7 @@ export class SearchJobsTool extends OperationTool<TSearchJobsParams, unknown> {
57
76
  return {
58
77
  name: this.name,
59
78
  description:
60
- 'Allows you to search jobs applying various filtering criteria (st.searchJobs action). Every job in the result carries urn — its permanent LinkedIn job posting URN (urn:li:jobPosting:<jobId>), or null when the job id could not be extracted.',
79
+ 'Allows you to search jobs applying various filtering criteria (st.searchJobs action). LinkedIn serves either a classic or an AI-powered jobs search, and the two do not offer the same refinements: send filter for the classic one or preferences for the AI-powered one, never both. Every job in the result carries urn — its permanent LinkedIn job posting URN (urn:li:jobPosting:<jobId>), or null when the job id could not be extracted — and isSimilarMatch, telling whether LinkedIn returned it as a near match rather than an exact one.',
61
80
  inputSchema: {
62
81
  type: 'object',
63
82
  properties: {
@@ -70,14 +89,24 @@ export class SearchJobsTool extends OperationTool<TSearchJobsParams, unknown> {
70
89
  description:
71
90
  'Optional. Number of search results to return. Defaults to 10, with a maximum value of 1000.',
72
91
  },
92
+ location: {
93
+ type: 'string',
94
+ description:
95
+ 'Optional. Free-form location string. Applied on both versions of LinkedIn jobs search.',
96
+ },
97
+ allowSimilarResults: {
98
+ type: 'boolean',
99
+ description:
100
+ 'Optional. Defaults to true. When false, near matches are excluded from the results, so fewer results than limit may be returned. Only relevant to the AI-powered search.',
101
+ },
73
102
  filter: {
74
103
  type: 'object',
75
104
  description:
76
- 'Optional. Object that specifies filtering criteria for jobs. When multiple filter fields are specified, they are combined using AND logic.',
105
+ 'Optional. Filtering criteria for the classic LinkedIn jobs search. Every specified field is applied, or the action fails. When multiple filter fields are specified, they are combined using AND logic. Mutually exclusive with preferences.',
77
106
  properties: {
78
107
  location: {
79
108
  type: 'string',
80
- description: 'Optional. Free-form location string.',
109
+ description: 'Optional. Deprecated, use the top-level location instead.',
81
110
  },
82
111
  datePosted: {
83
112
  type: 'string',
@@ -160,10 +189,67 @@ export class SearchJobsTool extends OperationTool<TSearchJobsParams, unknown> {
160
189
  },
161
190
  },
162
191
  },
192
+ preferences: {
193
+ type: 'object',
194
+ description:
195
+ "Optional. Filtering criteria for the AI-powered LinkedIn jobs search. LinkedIn decides which of them it offers for a given search, and the ones it does not offer are skipped instead of failing the action. Mutually exclusive with filter. When the account's version of LinkedIn jobs search cannot apply the criteria that were sent, the action fails with searchInterfaceMismatch.",
196
+ properties: {
197
+ datePosted: {
198
+ type: 'string',
199
+ enum: ['anyTime', 'past24Hours', 'pastWeek', 'pastMonth'],
200
+ description: 'Optional. How recently the job was posted.',
201
+ },
202
+ experienceLevels: {
203
+ type: 'array',
204
+ description:
205
+ 'Optional. Array of experience levels, where senior corresponds to midSeniorLevel in filter.',
206
+ items: {
207
+ type: 'string',
208
+ enum: ['entryLevel', 'senior', 'manager', 'director', 'executive'],
209
+ },
210
+ },
211
+ employmentTypes: {
212
+ type: 'array',
213
+ description: 'Optional. Array of employment types.',
214
+ items: {
215
+ type: 'string',
216
+ enum: ['fullTime', 'partTime', 'contract', 'internship', 'volunteer'],
217
+ },
218
+ },
219
+ companies: {
220
+ type: 'array',
221
+ description: 'Optional. Array of company names.',
222
+ items: { type: 'string' },
223
+ },
224
+ remote: {
225
+ type: 'boolean',
226
+ description:
227
+ 'Optional. When true, only remote jobs. The AI-powered search has no on-site or hybrid equivalent.',
228
+ },
229
+ easyApply: {
230
+ type: 'boolean',
231
+ description: 'Optional. When true, only jobs with Easy Apply.',
232
+ },
233
+ under10Applicants: {
234
+ type: 'boolean',
235
+ description: 'Optional. When true, only jobs with fewer than 10 applicants.',
236
+ },
237
+ inYourNetwork: {
238
+ type: 'boolean',
239
+ description: 'Optional. When true, only jobs from your network.',
240
+ },
241
+ keywords: {
242
+ type: 'array',
243
+ description:
244
+ 'Optional. Array of free-form skills, technologies or topics to narrow the search by, such as AWS or Fintech. LinkedIn suggests a different set for every search.',
245
+ items: { type: 'string' },
246
+ },
247
+ },
248
+ },
163
249
  customSearchUrl: {
164
250
  type: 'string',
165
251
  description:
166
- 'Optional. URL copied from a LinkedIn jobs search page. When specified, overrides term and filter.',
252
+ 'Optional. URL copied from a LinkedIn jobs search page. When specified, overrides term, location, filter and preferences.',
167
253
  },
168
254
  },
169
255
  },