check_deep_research_status
Monitor the progress of a deep research job by providing its job ID. Use this tool to track ongoing research tasks on the Linkd MCP Server.
Instructions
Check the status of an ongoing deep research job.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job ID to check status for |
Implementation Reference
- The handler function that executes the tool logic: makes an API request to check the status of a deep research job and returns the status as text.export const checkDeepResearchStatusTool = async ({ job_id, }: CheckDeepResearchStatusParams) => { const statusUrl = new URL(`https://search.linkd.inc/api/search/deep_research/${job_id}`); const response = await makeLinkdRequest(statusUrl.toString(), {}); const responseData = await response.json(); if (responseData.error) { throw new Error( `Failed to check deep research status: ${JSON.stringify(responseData.error)}` ); } return { content: [ { type: "text" as const, text: `deep research status: ${JSON.stringify(responseData, null, 2)}` } ] }; };
- Zod schema defining the input parameter 'job_id' for the tool.export const checkDeepResearchStatusSchema = { job_id: z.string().describe("The job ID to check status for"), };
- src/server_setup.ts:54-59 (registration)Registration of the tool with the MCP server using server.tool().server.tool( checkDeepResearchStatusName, checkDeepResearchStatusDescription, checkDeepResearchStatusSchema, checkDeepResearchStatusTool );