Inspect Nix Workspace
workspace_inspectInspect a Nix repository to detect its flake, outputs, Nix version, deployment adapters, and recommended next tool, helping agents choose the right action.
Instructions
Start here in a Nix repository. Detect the flake, outputs, Nix version, deployment adapters, and the most useful next tool.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "workspace_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory under an MCP workspace root. | |
| includeOutputs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| hasLock | Yes | ||
| outputs | Yes | ||
| systems | Yes | ||
| hasFlake | Yes | ||
| nixVersion | Yes | ||
| workspaceId | Yes | ||
| catalogSource | Yes | ||
| commonTargets | Yes | ||
| catalogWarning | No | ||
| inspectionRunId | Yes | ||
| recommendedTools | Yes | ||
| deploymentAdapters | Yes |