/planner-todo:planner-task-notes <task-id> --notes '<html-or-plain-text>' [--format html|plain]from planner-todo
Updates a Microsoft Planner task's notes with rich HTML content, replacing the legacy plain-text description field. Handles ETag fetching, content formatting, and error recovery.
Ships in planner-todo. Installing the plugin adds it to Claude Code.
Update a task's rich content using the notes field in task details. The notes field
supports full HTML and is the modern replacement for the deprecated description field.
Important:
notesanddescriptionare mutually exclusive in a PATCH request. Setting both in the same request returns a 400 error. Usenotesfor new tasks;descriptiononly if the plan explicitly uses the legacy format.
Required OAuth scope: Tasks.ReadWrite
| Argument | Required | Description |
|---|---|---|
<task-id> | Yes | Planner task ID |
--notes <content> | Yes | HTML or plain text content for the task notes |
--format <type> | No | html (default) or plain. Plain text is auto-wrapped in <p> tags |
Task details require their own ETag — it is separate from the task ETag:
GET https://graph.microsoft.com/v1.0/planner/tasks/{taskId}/details
Authorization: Bearer <token>
Extract the @odata.etag from the response headers or response body.
If --format plain, wrap content in HTML paragraphs:
Plain: "Fix the login bug and add validation"
HTML: "<p>Fix the login bug and add validation</p>"
If --format html (default), use the content as-is.
Valid HTML tags supported by Planner notes:
<p>, <br> — paragraphs and line breaks<strong>, <em>, <u>, <s> — text formatting<ul>, <ol>, <li> — lists<h1> through <h3> — headings<a href="..."> — hyperlinks<code>, <pre> — code blocks<blockquote> — quotes<table>, <tr>, <td>, <th> — tablesPATCH https://graph.microsoft.com/v1.0/planner/tasks/{taskId}/details
Content-Type: application/json
Authorization: Bearer <token>
If-Match: <details-etag>
{
"notes": {
"content": "<p>Fix the login bug and add validation</p><ul><li>Check null input</li><li>Add rate limiting</li></ul>",
"contentType": "html"
}
}
Note: notes is a itemBody object with content and contentType fields.
Do NOT include description in the same request.
Expected response: HTTP 204 No Content
Optionally re-fetch task details to confirm the update:
GET https://graph.microsoft.com/v1.0/planner/tasks/{taskId}/details?$select=notes
| HTTP Status | Cause | Resolution |
|---|---|---|
| 400 | Both notes and description present in body | Remove description from the request — use only notes |
| 412 | ETag mismatch (details were updated by someone else) | Re-GET /details to get current ETag, then retry |
| 409 | Concurrency conflict | Same as 412 — re-fetch and retry once |
| 404 | Task not found | Verify task ID |
Task notes updated
─────────────────────────────────────────────────
Task ID: <taskId>
Format: HTML
Length: <character-count> characters
Preview:
<first 200 chars of plain-text version>
─────────────────────────────────────────────────
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub thelobbi/claude-m --plugin planner-todo20 commands in this plugin
/planner-bucket-createCreate a new bucket in a Planner plan/planner-business-scenarioCreate and manage Business Scenario isolated task containers — app-owned Planner tasks with access control policies/planner-goalsCreate and manage goals and OKRs in a Planner Premium project via Dataverse/planner-nested-planCreate a Planner plan nested inside a task, enabling hierarchical plan decomposition/planner-plan-createCreate a new Planner plan with buckets for a Microsoft 365 Group/planner-roster-createCreate a roster-based Planner plan that does not require a Microsoft 365 GroupOther plugins' commands for the same job