delete_comment
Deletes a thread and all its messages (cascade). resolve_comment, in contrast, resolves a thread without deleting it. On a thread anchored 'document_range', also removes its mark from the document content (best-effort: a failure of this cleanup never prevents the deletion, and is signaled via markStripNote).
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": {
"threadId": "<threadId>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | Yes | Deletes the whole thread + associated messages (cascade) | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |