add_comment
Adds a comment to an existing task using its ID and agent name, requiring non-empty content.
Instructions
Add a comment; agent and non-empty content (alias text/comment) are required. One line from get_template("comment-success"/"comment-failure").
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": {
"id": "<id>",
"agent": "<agent>"
},
"name": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| text | No | alias of content | |
| agent | Yes | agent name; <=200 code points | |
| comment | No | alias of content | |
| content | No | English; fill get_template("comment-success") or "comment-failure"; <=10000 code points |