preview_pull_request_comment
Generate a preview of a pull request timeline comment and issue an approval token bound to the exact comment body before it is applied.
Instructions
Preview a PR timeline comment and issue a token for the exact body.
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": {
"repo": "<repo>",
"pull_number": "<pull_number>",
"body": "<body>"
},
"name": "preview_pull_request_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| repo | Yes | ||
| owner | No | ||
| pull_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||