tdx-kb-delete
Remove a knowledge base article from TeamDynamix by specifying its ID to delete outdated or incorrect documentation.
Instructions
Delete a TDX knowledge base article
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | TDX app ID (defaults to env TDX_APP_ID) | |
| id | Yes | KB article ID |
Implementation Reference
- src/tools/kb.ts:91-107 (registration)The 'tdx-kb-delete' tool registration and handler implementation.
server.tool( "tdx-kb-delete", "Delete a TDX knowledge base article", { appId: z.number().optional().describe("TDX app ID (defaults to env TDX_APP_ID)"), id: z.number().describe("KB article ID"), }, async (params) => { const app = params.appId ?? defaultAppId; try { await client.delete(`/${app}/knowledgebase/${params.id}`); return { content: [{ type: "text", text: "KB article deleted successfully" }] }; } catch (e: unknown) { return { content: [{ type: "text", text: String(e) }], isError: true }; } } );