search_jobs
Find job opportunities on LinkedIn by entering specific search terms to match career interests and qualifications.
Instructions
Search for jobs on LinkedIn using a search term.
Args: search_term (str): Search term to use for the job search.
Returns: List[Dict[str, Any]]: List of job search results
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search_term | Yes |
Implementation Reference
- linkedin_mcp_server/tools/job.py:58-79 (handler)The main execution handler for the 'search_jobs' MCP tool. It accepts a search_term, initializes a JobSearch with the driver, performs the search, converts results to dictionaries, and handles exceptions.@mcp.tool() async def search_jobs(search_term: str) -> List[Dict[str, Any]]: """ Search for jobs on LinkedIn using a search term. Args: search_term (str): Search term to use for the job search. Returns: List[Dict[str, Any]]: List of job search results """ try: driver = safe_get_driver() logger.info(f"Searching jobs: {search_term}") job_search = JobSearch(driver=driver, close_on_complete=False, scrape=False) jobs = job_search.search(search_term) # Convert job objects to dictionaries return [job.to_dict() for job in jobs] except Exception as e: return handle_tool_error_list(e, "search_jobs")
- linkedin_mcp_server/server.py:29-29 (registration)Invocation of register_job_tools which applies the @mcp.tool() decorator to the search_jobs handler (and other job tools), thereby registering it with the FastMCP server.register_job_tools(mcp)