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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_url_or_id | Yes | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |