add_comment
Post a Markdown comment to a CoderLegion discussion by supplying the post ID, slug, content, and comment thread ID.
Instructions
Add a comment to a CoderLegion post
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>",
"slug": "<slug>",
"content": "<content>",
"comment_id": "<comment_id>"
},
"name": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Post ID (numeric) | |
| slug | Yes | Post URL slug | |
| content | Yes | Comment text in Markdown | |
| comment_id | Yes | Comment thread ID (numeric, from the post page) |