Skip to main content

names_list_json

Function names_list_json 

Source
pub fn names_list_json(commands: &[CommandDef]) -> Value
Expand description

Flat name array, or prefix-compressed object when that saves space.

Compressed shape (agent-reconstructable): {"groups":{"workers-scripts":["list","get"]},"names":["echo"]} → tool id = "{prefix}-{suffix}" for groups, or bare names entries.