Skip to main content
Glama
delete-task.ts475 B
import { z } from "zod" import { tasks } from "../client.ts" export const deleteTaskInputSchema = z.object({ taskListId: z.string().describe("ID of the task list"), taskId: z.string().describe("ID of the task to delete") }) export type DeleteTaskInput = z.infer<typeof deleteTaskInputSchema> export async function deleteTask(args: DeleteTaskInput) { await tasks.tasks.delete({ tasklist: args.taskListId, task: args.taskId }) return { id: args.taskId } }

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/itsregularjohn/mcps'

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