{"id":"path-set-hierarchy-tree","version":"1.0.0","description":"Transform a flat array of file paths into a nested deterministic directory tree structure.","supported_operations":["path hierarchy tree","build directory tree from paths","path list to tree"],"unsupported_operations":["stat file","filesystem access","readdir"],"semantics":"Build a nested directory tree from a flat path list. Directories have children; files are leaves. Prototype-safe (uses Map internally). Deduplicates paths before building.","limits":{"max_paths":5000,"max_path_bytes":4096,"max_tree_depth":64},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","required":["paths"],"properties":{"paths":{"type":"array","items":{"type":"string"},"maxItems":5000},"format":{"type":"string","enum":["posix","windows","auto"]},"sort_children":{"type":"boolean"}}},"output_schema":{"type":"object","properties":{"tree":{"type":"array"},"format":{"type":"string"}}},"examples":[{"input":{"paths":["src/index.ts","src/utils/helper.ts","README.md"]},"output":{"tree":[{"name":"src","type":"directory","children":[{"name":"utils","type":"directory","children":[{"name":"helper.ts","type":"file"}]},{"name":"index.ts","type":"file"}]},{"name":"README.md","type":"file"}],"format":"posix"}}],"execute_url":"/v1/tools/path-set-hierarchy-tree/versions/1.0.0/execute"}