nv_fetch_person
Retrieve basic LinkedIn profile data by providing a hashed person URL. Integrated with the Linked API MCP server for automated Sales Navigator actions.
Instructions
Allows you to open a person page in Sales Navigator to retrieve their basic information (nv.openPersonPage action).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| personHashedUrl | Yes | Hashed LinkedIn URL of the person. |
Input Schema (JSON Schema)
{
"properties": {
"personHashedUrl": {
"description": "Hashed LinkedIn URL of the person.",
"type": "string"
}
},
"required": [
"personHashedUrl"
],
"type": "object"
}
Implementation Reference
- src/tools/nv-fetch-person.ts:7-31 (handler)The NvFetchPersonTool class that defines and executes the 'nv_fetch_person' tool logic by extending OperationTool, configuring name, operationName, Zod schema, and MCP tool definition.export class NvFetchPersonTool extends OperationTool<TNvOpenPersonPageParams, unknown> { public override readonly name = 'nv_fetch_person'; public override readonly operationName = OPERATION_NAME.nvFetchPerson; protected override readonly schema = z.object({ personHashedUrl: z.string(), }); public override getTool(): Tool { return { name: this.name, description: 'Allows you to open a person page in Sales Navigator to retrieve their basic information (nv.openPersonPage action).', inputSchema: { type: 'object', properties: { personHashedUrl: { type: 'string', description: 'Hashed LinkedIn URL of the person.', }, }, required: ['personHashedUrl'], }, }; } }
- src/tools/nv-fetch-person.ts:14-30 (schema)MCP Tool inputSchema definition including properties, description, and required fields for 'nv_fetch_person'.public override getTool(): Tool { return { name: this.name, description: 'Allows you to open a person page in Sales Navigator to retrieve their basic information (nv.openPersonPage action).', inputSchema: { type: 'object', properties: { personHashedUrl: { type: 'string', description: 'Hashed LinkedIn URL of the person.', }, }, required: ['personHashedUrl'], }, }; }
- src/linked-api-tools.ts:59-59 (registration)Registration and instantiation of NvFetchPersonTool within the LinkedApiTools class tools array.new NvFetchPersonTool(progressCallback),
- src/tools/nv-fetch-person.ts:10-12 (schema)Internal Zod schema for input validation of personHashedUrl parameter.protected override readonly schema = z.object({ personHashedUrl: z.string(), });
- src/linked-api-tools.ts:11-11 (registration)Import of NvFetchPersonTool for registration in LinkedApiTools.import { NvFetchPersonTool } from './tools/nv-fetch-person.js';