edit_comment
Update an existing Ed Discussion comment by replacing its entire body with new content in Ed XML format. Provide the comment ID and new content to modify the comment.
Instructions
Edit an existing comment's content. Replaces the entire body with the new content in Ed XML format.
Args: comment_id: The comment ID (from get_thread results). content: New body in Ed XML format.
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": {
"comment_id": "<comment_id>",
"content": "<content>"
},
"name": "edit_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| comment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |