AddProposalComment
Add a comment to a schema proposal, the same action as commenting in GraphOS Studio. With no other options, the comment is a general comment on the proposal. To comment on one change, pass the schema coordinate (for example Query.products) and the subgraph name as schemaScope. To reply, pass the parent comment's ID. Returns the new comment's ID and message, or an error with a message. Provide the graph ID, the proposal variant name and latestRevision.id from GetProposal, and the message.
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": {
"graphId": "<graphId>",
"proposalVariant": "<proposalVariant>",
"revisionId": "<revisionId>",
"message": "<message>"
},
"name": "AddProposalComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graphId | Yes | ||
| message | Yes | ||
| revisionId | Yes | ||
| schemaScope | No | ||
| parentCommentId | No | ||
| proposalVariant | Yes | ||
| schemaCoordinate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| errors | No | ||
| extensions | No |