Ingest repo
ingest_repoReverse-engineer an existing app into a rebuild spec by statically analyzing package.json, configs, routes, and tests. Point it at a repo path to extract the structure needed for a clean rebuild.
Instructions
Parse package.json, tailwind/vite config, route files, and existing tests via static analysis. No LLM call.
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": {
"path": "<path>"
},
"name": "ingest_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the repo to ingest | |
| interactive | No | When true and 0 routes are found at a monorepo-shaped path, ask via elicitation which candidate directory is the real app, then ingest that instead |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routes | Yes | ||
| savedTo | Yes | ||
| signals | Yes | ||
| openCases | Yes | ||
| buildConfig | Yes | ||
| monorepoHint | No | ||
| existingTests | Yes | ||
| unsupportedStackNote | No | ||
| resolvedMonorepoChoice | No |