find_generated_artifacts
Locate generated-code artifacts like pass dumps, MLIR, kernel C++, and dfx outputs in repo build roots; filter by kind, repo, or program path to find the needed build stage.
Instructions
Locate generated-code artifacts across the workspace: pass dumps, .pto MLIR, kernel/orchestration C++, dfx outputs.
Scans each repo's build_output/outputs/build roots (read-only) and classifies what it finds. Combine with the debug/codegen-inspection resource to know which stage each artifact belongs to.
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": "find_generated_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Optional artifact kind filter, e.g. passes_dump, pto_mlir, kernel_aic_cpp, orchestration_cpp, dfx_outputs | |
| repo | No | Optional repository name (e.g. "pypto", "pypto-lib") to scope the search. Empty searches every repo's artifact roots. | |
| max_results | No | Maximum results to return (1–1000) | |
| program_hint | No | Optional substring of the output path (e.g. a kernel or program name) to filter on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||