establish_pr_context
Create reusable PR context by parsing a full Azure DevOps PR URL or resolving a numeric PR ID using cached repository context.
Instructions
Create reusable PR context from a URL or numeric ID.
Parses a full PR URL or resolves a numeric PR ID using cached repository context.
Args: pr_url_or_id: A full Azure DevOps PR URL or a numeric PR ID. working_directory: Optional path for context resolution when using a numeric ID.
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": {
"pr_url_or_id": "<pr_url_or_id>"
},
"name": "establish_pr_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_url_or_id | Yes | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |