ingest_codebase
Parse files or directories into semantic AST chunks (functions, classes, methods) across 8 languages, returning chunk counts and samples for indexing into persistent agent memory.
Instructions
Parse a file or directory into semantic AST chunks (functions, classes, methods) across 8 languages. Returns chunk count + sample.
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_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| include | No | Extension allowlist e.g. ['.py','.go'] | |
| sample_limit | No |