Skip to content
RAGRAF

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
fqnstrrequired
directionstr'back'
limitint200
min_confidencefloat | NoneNone

What it returns

direction, evidence, node_count, nodes, note, target