retrieve_connections
Retrieve LinkedIn connections with optional filters for names, positions, locations, industries, companies, or schools. Manage and analyze person-related data efficiently.
Instructions
allows you to retrieve your connections and perform additional person-related actions if needed (st.retrieveConnections action).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filter | No | Optional. Object that specifies filtering criteria for people. When multiple filter fields are specified, they are combined using AND logic. | |
limit | No | Optional. Number of connections to return. Defaults to 500, with a maximum value of 1000. |
Input Schema (JSON Schema)
{
"properties": {
"filter": {
"description": "Optional. Object that specifies filtering criteria for people. When multiple filter fields are specified, they are combined using AND logic.",
"properties": {
"currentCompanies": {
"description": "Optional. Array of company names. Matches if person currently works at any of the listed companies.",
"type": "array"
},
"firstName": {
"description": "Optional. First name of person.",
"type": "string"
},
"industries": {
"description": "Optional. Array of enums representing industries. Matches if person works in any of the listed industries. Takes specific values available in the LinkedIn interface.",
"type": "array"
},
"lastName": {
"description": "Optional. Last name of person.",
"type": "string"
},
"locations": {
"description": "Optional. Array of free-form strings representing locations. Matches if person is located in any of the listed locations.",
"type": "array"
},
"position": {
"description": "Optional. Job position of person.",
"type": "string"
},
"previousCompanies": {
"description": "Optional. Array of company names. Matches if person previously worked at any of the listed companies.",
"type": "array"
},
"schools": {
"description": "Optional. Array of institution names. Matches if person currently attends or previously attended any of the listed institutions.",
"type": "array"
}
},
"type": "object"
},
"limit": {
"description": "Optional. Number of connections to return. Defaults to 500, with a maximum value of 1000.",
"type": "number"
}
},
"type": "object"
}