Skip to main content
Glama
update-task-list.ts576 B
import { z } from "zod" import { tasks } from "../client.ts" export const updateTaskListInputSchema = z.object({ taskListId: z.string().describe("ID of the task list to update"), title: z.string().describe("New title for the task list") }) export type UpdateTaskListInput = z.infer<typeof updateTaskListInputSchema> export async function updateTaskList(args: UpdateTaskListInput) { const response = await tasks.tasklists.update({ tasklist: args.taskListId, requestBody: { id: args.taskListId, title: args.title } }) return response.data }

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