openspec_add_review
Add a review comment to a change or spec. Supports comment, suggestion, question, or issue types with optional line number and severity.
Instructions
Add a review comment to a change or spec
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": {
"targetType": "<targetType>",
"targetId": "<targetId>",
"type": "<type>",
"body": "<body>"
},
"name": "openspec_add_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetType | Yes | Type of target to review | |
| targetId | Yes | Change ID or Spec ID | |
| lineNumber | No | Line number (optional) | |
| type | Yes | Type of review | |
| severity | No | Severity (for issues) | |
| body | Yes | Review comment content | |
| suggestedChange | No | Suggested code change | |
| author | No | Author of the review | ai |