triage_repository
Condense one repository snapshot into a bounded workspace evidence bundle for the planner: ranked suspect files and symbols with scored, budget-capped snippets. signals seeds the search — pass issue_text, diagnostics, failing_tests, changed_files, and/or workspace_context. The returned workspace_evidence_bundle_ref is the required input to create_repository_decision_plan; use run_repository_pipeline to chain both stages in one call. Read-only against the repository; persists the bundle artifact. Returns suspect_files, suspect_symbols, evidence_items, and token reduction stats.
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": {
"repository_id": "<repository_id>",
"snapshot_id": "<snapshot_id>",
"signals": "<signals>"
},
"name": "triage_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signals | Yes | Evidence seeds: issue_text, diagnostics, failing_tests, changed_files, workspace_context. | |
| snapshot_id | Yes | Snapshot id from create_repository_snapshot. | |
| token_budget | No | Total evidence token budget, 256-32000; defaults to 6000. | |
| repository_id | Yes | Saved repository connector id from list_connectors. | |
| max_snippet_lines | No | Per-snippet line cap, 5-200; defaults to 40. | |
| max_evidence_items | No | Evidence item cap, 1-64; defaults to 16. |