Build an IR Viewer URL with a structured view recipe (draft contract, not yet read by the dashboard)
build_ir_view_recipe_urlConverts natural-language display requests into a structured recipe URL for the IR viewer. Validates and encodes the recipe as composable view directives.
Instructions
DRAFT / PROPOSED contract only -- dashboard.furiosa.dev does not read this recipe param yet. This exists so an AI agent can translate a loose display request ('bridge에 하이라이트 해줘', 'IO 연산은 파란색으로', 'latency 큰 operator 강조해줘') into a small, fixed set of composable view directives instead of re-deriving a full custom rendering from raw IR data on every request. The tool only validates and encodes the recipe as a query param; a deterministic renderer in the dashboard frontend (separate codebase) still needs to be built to read recipe and actually draw it. Until that exists, treat the returned URL's recipe param as inert and the response's recipe field as the artifact to hand to whoever implements that renderer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | Short commit sha, first 10 hex chars | |
| test | Yes | Exact test name | |
| context | Yes | Context value, e.g. 'test-snapshot-8pe' | |
| highlight | No | Op/node categories to highlight, e.g. ['bridge'] | |
| compareMode | No | Which measurement to plot when this commit has both | |
| emphasizeTopN | No | How many top operators to emphasize for emphasizeMetric | |
| colorByCategory | No | Color nodes of this category distinctly and dim everything else (e.g. 'io' -> blue, rest gray) | |
| emphasizeMetric | No | Visually emphasize the operators with the highest value of this metric | |
| annotateBufferType | No | Show each tensor's buffer type alongside its name |