pub fn names_list_json(commands: &[CommandDef]) -> ValueExpand 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.