present_pr_workflow
Open one selected branch, pull-request, diff, or operation-result view when the user explicitly asks to see it. Pass the opaque presentation_ref returned by the source tool and its matching view. The server resolves a bounded snapshot created by that authorized operation and rechecks its capability grant plus current workspace/model access. Provides view: pr-workflow (ui://apps/pr-workflow) renders this tool’s result when MCP Apps are available.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
presentation_ref | str | Yes | — | |
view | Literal['branches', 'pull_requests', 'pull_request', 'diff', 'operation'] | Yes | — |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
view(string)checked_at(string)freshness(object)data(object)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "present_pr_workflow", "arguments": { "presentation_ref": "0123456789abcdef0123456789abcdef", "view": "pull_requests" }}Response
Section titled “Response”{ "view": "pull_requests", "checked_at": "2026-04-28T10:00:00+00:00", "freshness": { "captured_at": "2026-04-28T10:00:00+00:00", "checked_at": "2026-04-28T10:00:00+00:00", "expires_at": "2026-04-28T10:15:00+00:00", "age_seconds": 1, "state": "authorized_snapshot", "source_tool": "list_pull_requests", "workspace_id": "dddddddd-dddd-dddd-dddd-dddddddddddd", "model": "forecasts", "revision": { "kind": "pull_request_inventory", "count": 1 }, "operation_receipt": false }, "data": { "model": "forecasts", "pull_requests": [ { "pull_request_id": 42, "title": "Aggressive growth scenario", "head_branch": "scenario/aggressive-growth", "base_branch": "main", "state": "open", "author": "alice@example.com", "created_at": "2026-04-28T10:00:00+00:00" } ], "count": 1, "total_count": 1, "truncated": false, "has_more": false, "next_cursor": null, "state_filter": "open", "workspace_id": "dddddddd-dddd-dddd-dddd-dddddddddddd", "presentation_ref": "0123456789abcdef0123456789abcdef" }}- Module:
Pull Requests - Requires an authenticated Bridge Town session (OAuth) or an API token.