cortex_disable_responder
Remove an enabled responder from the current organization using its internal responder ID.
Instructions
Disable (remove) an enabled responder from the current organization
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| responderId | Yes | The enabled responder's ID (the internal ID from cortex_list_responders, not the definition ID) |
Implementation Reference
- The handler function for the 'cortex_disable_responder' tool. It calls client.deleteResponder(responderId) to disable/remove an enabled responder from the current organization.
server.tool( "cortex_disable_responder", "Disable (remove) an enabled responder from the current organization", { responderId: z .string() .describe("The enabled responder's ID (the internal ID from cortex_list_responders, not the definition ID)"), }, async ({ responderId }) => { try { await client.deleteResponder(responderId); return { content: [ { type: "text" as const, text: `Responder "${responderId}" has been disabled and removed from the organization.`, }, ], }; } catch (error) { return { content: [ { type: "text" as const, text: `Error disabling responder: ${error instanceof Error ? error.message : String(error)}`, }, ], isError: true, }; } }, ); - Input schema: requires a single 'responderId' string parameter (the internal enabled responder ID, not the definition ID).
{ responderId: z .string() .describe("The enabled responder's ID (the internal ID from cortex_list_responders, not the definition ID)"), }, - src/tools/responder-definitions.ts:169-200 (registration)The tool is registered via server.tool() within the registerResponderDefinitionTools function in src/tools/responder-definitions.ts.
server.tool( "cortex_disable_responder", "Disable (remove) an enabled responder from the current organization", { responderId: z .string() .describe("The enabled responder's ID (the internal ID from cortex_list_responders, not the definition ID)"), }, async ({ responderId }) => { try { await client.deleteResponder(responderId); return { content: [ { type: "text" as const, text: `Responder "${responderId}" has been disabled and removed from the organization.`, }, ], }; } catch (error) { return { content: [ { type: "text" as const, text: `Error disabling responder: ${error instanceof Error ? error.message : String(error)}`, }, ], isError: true, }; } }, );