delete_extension
Remove an open extension from a Microsoft To Do task by specifying the list ID, task ID, and extension name.
Instructions
Delete an open extension from a task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | ||
| task_id | Yes | ||
| extension_name | Yes |
Implementation Reference
- src/graph.ts:851-860 (handler)The actual Graph API function that performs the DELETE HTTP request to Microsoft Graph to remove an open extension from a task. It sends a DELETE to /me/todo/lists/{listId}/tasks/{taskId}/extensions/{extensionName}.
export async function deleteTaskExtension( listId: string, taskId: string, extensionName: string ): Promise<void> { await graphFetch<void>( `/me/todo/lists/${enc(listId)}/tasks/${enc(taskId)}/extensions/${enc(extensionName)}`, { method: "DELETE" } ); } - src/index.ts:313-321 (schema)Zod validation schema for the delete_extension tool. Defines the required arguments: list_id (string), task_id (string), and extension_name (string with length 1-120, matching regex for valid characters).
delete_extension: z.object({ list_id: z.string(), task_id: z.string(), extension_name: z .string() .min(1) .max(120) .regex(/^[A-Za-z0-9._-]+$/, "extension_name: only letters, digits, '.', '_', '-' allowed"), }),