tarn_run_agent
Run test suites with agent report mode pre-selected, returning compact AgentReports and artifact paths for iterating on failures.
Instructions
Run a suite with report_mode=agent pre-selected, surfacing the compact AgentReport (NAZ-412) plus artifact paths. Preferred entry point when the caller will iterate on failures. Equivalent to: tarn run --agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute path to the project root. Defaults to the workspace root captured during MCP `initialize`, or the server process's current directory. | |
| env_name | No | Environment name (loads tarn.env.{name}.yaml). | |
| no_default_excludes | No | Disable the default discovery ignore rules. | |
| path | No | Path to a `.tarn.yaml` file or directory. Relative paths resolve against `cwd`. | |
| select | No | Explicit `FILE[::TEST[::STEP]]` selectors. Combine with `test_filter`/`step_filter` if desired. | |
| step_filter | No | Run only this step (name or zero-based index) within the filtered tests. | |
| tag | No | Comma-separated tag filter. | |
| test_filter | No | Run only this named test across every discovered file (wildcard selector). | |
| vars | No | Variable overrides as key-value pairs. |