Skip to content
RAGRAF

ragraf_repo_map

Edition: community Capability: graph Operation page: repo_map

What it does

Repository map: modules → files → key symbols, within a token budget

What problem it solves

Gives an overview of a large repository within a token budget, without reading it whole.

How to call it

ragraf_repo_map()
ragraf -p config/ragraf.yaml query repo_map

The ellipsis stands for a value the agent supplies; optional parameters can be omitted.

Parameters

Name Type Default
scopestr | NoneNone
budget_tokensint2000
detailstr'normal'

What it returns

budget_chars, budget_note, budget_tokens, chars_used, files, files_included, files_total, ranking, ranking_note, scope