Skip to main content
Glama

delete_watching

Remove a watch from a Backlog issue to stop receiving notifications about updates to that specific task.

Instructions

Deletes a watch from an issue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
watchIdYesWatch ID to delete

Implementation Reference

  • The deleteWatchingTool function defines the tool implementation, including the handler that executes backlog.deletehWatchingListItem(watchId) to delete the specified watching list item.
    export const deleteWatchingTool = ( backlog: Backlog, { t }: TranslationHelper ): ToolDefinition< ReturnType<typeof deleteWatchingSchema>, (typeof WatchingListItemSchema)['shape'] > => { return { name: 'delete_watching', description: t( 'TOOL_DELETE_WATCHING_DESCRIPTION', 'Deletes a watch from an issue' ), schema: z.object(deleteWatchingSchema(t)), outputSchema: WatchingListItemSchema, handler: async ({ watchId }) => backlog.deletehWatchingListItem(watchId), }; };
  • Zod schema definition for the input parameters of the delete_watching tool, requiring a numeric watchId.
    const deleteWatchingSchema = buildToolSchema((t) => ({ watchId: z .number() .describe(t('TOOL_DELETE_WATCHING_WATCH_ID', 'Watch ID to delete')), }));
  • The deleteWatchingTool is instantiated with the Backlog client and translation helper, and registered in the 'issue' toolset within the allTools function.
    deleteWatchingTool(backlog, helper),
  • Import of the deleteWatchingTool from its implementation file.
    import { deleteWatchingTool } from './deleteWatching.js';

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nulab/backlog-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server