Post PR link
post_pr_linkAfter you open a fix PR for a bug, link it back to the Snag ticket: the dashboard shows it as the ticket's fix PR and records an activity entry. Call once per bug, only after the PR actually exists — never invent a URL.
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": {
"ticketId": "<ticketId>",
"prUrl": "<prUrl>"
},
"name": "post_pr_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prUrl | Yes | ||
| ticketId | Yes |