asana_add_comment
Add a comment to a task in Asana. Provide plain text with real newlines to ensure the comment displays as intended.
Instructions
Add a comment (story) to a task. Prefer text (plain, with real newlines; literal "\n" sequences are auto-converted) — the /stories endpoint escapes html_text into literal tags. Pass html_text only if you accept that.
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>"
},
"name": "asana_add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Plain-text comment. Use REAL newline characters for line breaks (literal "\n" two-char sequences are auto-converted as a safety net). | |
| task_gid | Yes | Task GID | |
| html_text | No | HTML comment — NOT recommended on /stories (renders escaped) |