local.resolver.simulate
Availability: Local CLI and local MCP (stdio), in the local toolkit. Customers can't use the hosted connection or the local toolkit yet: the hosted connection (OAuth sign-in, and the API and MCP at /api/agent/v1) isn't deployed, and the local toolkit isn't distributed. Don't try to connect or run these operations for a customer, and don't ask them to install anything. Read and explain these pages, and help the person use https://www.pixie.codes in their browser.
Predict routing from a caller-supplied complete domain snapshot using shared management selection rules, without an account or network access.
- CLI command:
simulate-resolver - MCP tool:
local.resolver.simulate - Operation version: 1
- Effect:
read - Permission: Explicit local filesystem access only; no publication, provider or spending authority.
- Contract: local contract 1, digest
3c0203c9a00b1c1935e94899236058298bf761f94021a47ad588bd9c3e5be9b8 - Output schema:
outputSchemain the catalog entry. It describes the JSON result the CLI prints. MCP returns the same result in its first text block, with two exceptions:local.artifact.readsends the file bytes as a separate image or resource block, andlocal.capabilitiesreturns the MCP form of the catalog - Errors: each error carries
code,classandrecovery; classes are listed undererrorsin the catalog
Inputs
input(string, required): Versioned domain snapshot and request as a JSON file, at most 2 MiB UTF-8. Read requestSchema. All rule fields and ownership must be explicit; this never fetches a URL or connects to a database.
The complete request schema is this operation's entry in capabilities.json (CLI) or mcp-capabilities.json (MCP) in the current release; list it from local.capabilities before calling.
Recovery
Read LOCAL-RESOLVER-SIMULATION.md or MCP resource pixie-local://docs/resolver-simulation. Use the versioned requestSchema with all resources, destinations and rule fields. At most 2 MiB UTF-8 JSON, 1000 resources and 5000 links; duplicate keys, IDs/paths, foreign ownership and unknown fields refuse. Retain snapshotHash/requestHash and inspect the trace and limitations. Completeness and capture time are caller assertions, not authenticated state. This performs no public probe, route change, provider access or SQL setup. Repeat the exact input for the same prediction; refresh a stale snapshot intentionally.