ragraf_slice
Edition: community Capability: graph Operation page: slice
What it does
Structural slice: nodes + edges + lines, WITHOUT function bodies (FT-19)
What problem it solves
Gives the structure around a symbol without function bodies, cheaper than a full read.
How to call it
ragraf_slice(fqn=…)
ragraf -p config/ragraf.yaml query slice <fqn>
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| fqn | str | required |
| direction | str | 'back' |
| limit | int | 200 |
| min_confidence | float | None | None |
What it returns
direction, evidence, node_count, nodes, note, target