Run Nix Application
runExecute a Nix flake application directly without installing it, passing arguments after -- as an array rather than through a shell.
Instructions
Run a flake application without installing it. Application arguments are passed as an array after --, never through a shell.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"installable": "<installable>"
},
"name": "run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory under an MCP workspace root. | |
| cores | No | ||
| impure | No | ||
| system | No | ||
| maxJobs | No | ||
| offline | No | ||
| refresh | No | ||
| builders | No | ||
| arguments | No | ||
| showTrace | No | ||
| inputsFrom | No | ||
| installable | Yes | ||
| overrideInputs | No | ||
| printBuildLogs | No | ||
| timeoutSeconds | No | ||
| acceptFlakeConfig | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | ||
| status | Yes | ||
| outputs | Yes | ||
| summary | Yes | ||
| diagnostics | Yes |