Get a comment's context
get_comment_contextFetch everything needed to act on a review comment: anchor, viewport, surrounding markup, and replay link.
Instructions
Return everything needed to act on one comment: anchor, viewport, surrounding markup and any replay link. A comment written under a Maple Mock carries mock.recipe and mock.replay, a link to the page in that state.
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>",
"branch": "<branch>"
},
"name": "get_comment_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The comment's id. | |
| branch | Yes | Head branch of the pull request the comments are on, such as `feat/login`. Not a pull request number. |