Analyze Test Placement
analyze_test_placementDerive advisory test-placement findings for one project from an audit artifact or repo/project roots; identifies placement issues without modifying files or running tests.
Instructions
Derive advisory test-placement findings for one project; use analyze_project_test_placement for multiple audited projects. Pass an existing audit/v1 artifact, or pass repoRoot plus projectRoot to audit that project deterministically. Does not execute tests or create, move, or modify files.
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": "analyze_test_placement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audit | No | An audit/v1 artifact; or pass repoRoot plus projectRoot instead. | |
| owner | No | Optional owner label for the audited project. Defaults to audit.profile.root. | |
| goTarget | No | ||
| repoRoot | No | Repository root to audit instead of passing audit; requires projectRoot. | |
| projectRoot | No | Project root relative to repoRoot as detected, such as . or packages/api. | |
| changedPaths | No | Optional repository-relative source paths to limit target selection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| findings | Yes | ||
| auditCoverage | No | ||
| schemaVersion | Yes | ||
| failedProjects | No | ||
| failedProjectCount | No |