post_comment
Post a comment on a GitBook space or change request by providing the space ID and comment text. Optionally target a specific change request to share feedback or collaborate.
Instructions
Post a new comment on a GitBook space or change request
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": {
"spaceId": "<spaceId>",
"body": "<body>"
},
"name": "post_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The comment text (markdown supported) | |
| spaceId | Yes | The ID of the space | |
| changeRequestId | No | Optional change request ID (posts comment on that CR) |