asana_set_html_notes
Set rich-text HTML notes on Asana tasks and fix XML invalid errors by auto-sanitizing HTML so it renders correctly.
Instructions
Set rich-text notes on a task using html_notes. Fixes: "XML is invalid" error from official MCP.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_gid": "<task_gid>",
"html_notes": "<html_notes>"
},
"name": "asana_set_html_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sanitize | No | Auto-fix non-whitelisted HTML (h1-6→strong, b→strong, i→em, p/div→breaks) so it renders in Asana. Default true; clean HTML passes through unchanged. | |
| task_gid | Yes | Task GID | |
| html_notes | Yes | HTML content for task notes. Use <body> as root element. |