Attach preview URL
set_preview_urlAttach a deploy-preview URL to a change request and mark it ready for the requester to review.
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>",
"url": "<url>"
},
"name": "set_preview_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ticket code like "RB-3" (raw ids also work). | |
| url | Yes | Deploy-preview URL (from your host) that the requester will review. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Short ticket code. | |
| status | Yes | New status, set to "preview". | |
| review_url | Yes | Page where the requester reviews and approves the change. |