ingest_reference
Ingests a reference codebase from a GitHub URL, local path, package registry, inline file map, or JS bundle into an indexed snapshot for minimal AST extraction and parity testing.
Instructions
Ingests a reference codebase from a GitHub URL, local directory, package spec (npm:/pypi:/cargo:), inline file map, or minified JS bundle into an indexed ReferenceSnapshot.
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": {
"sourceUri": "<sourceUri>"
},
"name": "ingest_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subpath | No | Optional sparse subdirectory path. | |
| sourceUri | Yes | GitHub URL, local path, registry spec, or bundle identifier. | |
| bundleCode | No | Optional minified JS/TS bundle code to normalize and ingest. | |
| sourceKind | No | ||
| inlineFiles | No | ||
| bundleLanguage | No |