Ansight.Tools.VisualTree
0.1.0-preview.17
See the version list below for details.
dotnet add package Ansight.Tools.VisualTree --version 0.1.0-preview.17
NuGet\Install-Package Ansight.Tools.VisualTree -Version 0.1.0-preview.17
<PackageReference Include="Ansight.Tools.VisualTree" Version="0.1.0-preview.17" />
<PackageVersion Include="Ansight.Tools.VisualTree" Version="0.1.0-preview.17" />
<PackageReference Include="Ansight.Tools.VisualTree" />
paket add Ansight.Tools.VisualTree --version 0.1.0-preview.17
#r "nuget: Ansight.Tools.VisualTree, 0.1.0-preview.17"
#:package Ansight.Tools.VisualTree@0.1.0-preview.17
#addin nuget:?package=Ansight.Tools.VisualTree&version=0.1.0-preview.17&prerelease
#tool nuget:?package=Ansight.Tools.VisualTree&version=0.1.0-preview.17&prerelease
Ansight.Tools.VisualTree
Grouped visual tree and screenshot tool registrations for the Ansight .NET SDK.
License
The Ansight SDK is source-available software under the Ansight SDK Source-Available License. It is not open-source software. Production use is licensed only for use with Ansight Services.
Usage
using Ansight;
using Ansight.Tools.VisualTree;
var options = Options.CreateBuilder()
.WithVisualTreeTools()
.WithReadOnlyToolAccess()
.Build();
WithReadOnlyToolAccess() exposes inspection tools such as ui.get_visual_tree, ui.inspect_node, ui.get_screenshot, ui.get_overlay, and ui.query_overlays.
Use WithReadWriteToolAccess() or a custom ToolGuard when a connected host should be allowed to draw diagnostic overlays:
var options = Options.CreateBuilder()
.WithVisualTreeTools()
.WithReadWriteToolAccess()
.Build();
Overlay tools render input-transparent highlight rectangles over the active native window. They never participate in hit testing, so they should not intercept taps, clicks, focus, or gestures.
ui.show_overlaycreates one or more highlight rectangles from explicit window coordinates, visual-tree coordinates, or anodeId.ui.update_overlayedits an existing overlay by id. Omitted fields keep their current values; supplied geometry replaces the current rectangles.ui.get_overlayreturns a single overlay by id.ui.query_overlayslists overlays and can filter by metadata key/value.ui.remove_overlayremoves one overlay by id.ui.clear_overlaysremoves all overlays, or only overlays matching a metadata key/value filter.
Overlays default to no fill, a red stroke, and a 5 second lifetime. Pass durationMs=0 for an overlay that remains until removed. fillColor=none or fillColor=transparent clears fill. Each overlay can carry a small scalar metadata dictionary so MCP clients can record why the overlay exists, for example a target node id, assertion name, or investigation step.
Build-time remote tool policy
Projects that reference this package are covered by AnsightRemoteToolsPolicy. The default AllowedWithWarnings policy logs detected tool type and assembly details and emits a build warning when remote tools are included. Because this package contains remote tools, Disallowed only succeeds when the package is omitted from that build, for example with Debug-only package references. Use Allowed to bypass remote tool scanning and warnings. Set AnsightLogRemoteTools=false to suppress the detected-tool list.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Ansight.Core (>= 0.1.0-preview.17)
-
net9.0-android35.0
- Ansight.Core (>= 0.1.0-preview.17)
-
net9.0-ios18.0
- Ansight.Core (>= 0.1.0-preview.17)
-
net9.0-maccatalyst18.0
- Ansight.Core (>= 0.1.0-preview.17)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Ansight.Tools.VisualTree:
| Package | Downloads |
|---|---|
|
Ansight
All-in-one Ansight SDK package for .NET apps, including core runtime, pairing, and remote tools. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.19 | 52 | 5/8/2026 |
| 0.1.0-preview.18 | 54 | 5/8/2026 |
| 0.1.0-preview.17 | 52 | 5/8/2026 |
| 0.1.0-preview.16 | 50 | 5/6/2026 |
| 0.1.0-preview.15 | 49 | 5/5/2026 |
| 0.1.0-preview.14 | 52 | 5/5/2026 |
| 0.1.0-preview.13 | 52 | 5/5/2026 |
| 0.1.0-pre9 | 56 | 5/3/2026 |
| 0.1.0-pre8 | 50 | 5/3/2026 |
| 0.1.0-pre7 | 46 | 4/30/2026 |
| 0.1.0-pre6 | 53 | 4/30/2026 |
| 0.1.0-pre5 | 41 | 4/30/2026 |
| 0.1.0-pre4 | 54 | 4/27/2026 |
| 0.1.0-pre3 | 60 | 4/21/2026 |
| 0.1.0-pre2 | 73 | 4/4/2026 |
| 0.1.0-pre12 | 51 | 5/4/2026 |
| 0.1.0-pre11 | 56 | 5/4/2026 |
| 0.1.0-pre10 | 55 | 5/3/2026 |
| 0.1.0-pre1 | 59 | 3/31/2026 |