add_comment
Anchors a user review comment to a saved document revision and text range so feedback stays tied to the exact content it references.
Instructions
Keep an original user review comment anchored to a saved document revision and text range.
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>",
"path": "<path>",
"expectedIdentity": "<expectedIdentity>",
"revision": "<revision>",
"start": "<start>",
"end": "<end>",
"text": "<text>"
},
"name": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| end | Yes | ||
| path | Yes | ||
| text | Yes | ||
| start | Yes | ||
| revision | Yes | ||
| workspacePath | No | Trusted absolute project path from this chat; pass on every call. null selects personal storage. Omission uses only the environment default. | |
| expectedIdentity | Yes |