write_comment
Attaches an inline comment anchor to target text and opens a discussion thread for review, preventing comments from being placed past the configured cutoff line.
Instructions
Attaches an inline comment anchor around target text and creates an open discussion thread. Comments cannot be anchored past the configured cutoff line.
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": {
"filepath": "<filepath>",
"search_string": "<search_string>",
"comment_text": "<comment_text>"
},
"name": "write_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | ||
| comment_text | Yes | ||
| search_string | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |