nexus_restore_comment
Restore a discarded comment to public visibility, undoing the discard. Requires OAuth Bearer authentication.
Instructions
Restore a previously discarded comment via v2 GraphQL.
Consumes the v2 GraphQL pool, NOT the v1 REST rate-limit quota. Undo for nexus_discard_comment — the comment becomes publicly visible again. REQUIRES OAuth Bearer auth: Nexus denies restore under apikey-only auth even for your own comments.
Returns: JSON {restoreComment: {comment: {id, isDiscarded, discardedAt}}} or an error string.
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>"
},
"name": "nexus_restore_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment_id | Yes | Comment ID to restore (undo discard). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |