{"id":"graph-from-adjacency","version":"1.0.0","description":"Rebuild a simple directed graph from adjacency lists of node ids and successors.","supported_operations":["graph from adjacency","adjacency list to graph","rebuild graph from adjacency lists"],"unsupported_operations":["adding missing successor nodes silently","weighted adjacency","undirected pairs","adjacency matrix input"],"semantics":["Input adjacency is an array of {node, successors} objects and nothing else.","Output nodes are the entry node ids in adjacency-entry order.","Output edges are flattened in entry order, then successor-list order, as {from: node, to: successor}.","Every successor must equal some node in this adjacency list; missing nodes are rejected, not inserted.","Duplicate node ids and duplicate (node, successor) pairs, including repeats inside one successors list, are rejected.","Self-loops and directed cycles are allowed; this tool does not reject them.","Empty adjacency yields {nodes: [], edges: []}."],"limits":{"max_nodes":2000,"max_edges":10000,"max_node_id_bytes":256},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["adjacency"],"properties":{"adjacency":{"type":"array","maxItems":2000,"items":{"type":"object","additionalProperties":false,"required":["node","successors"],"properties":{"node":{"type":"string","minLength":1,"maxLength":256},"successors":{"type":"array","maxItems":10000,"items":{"type":"string","minLength":1,"maxLength":256}}}}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["nodes","edges"],"properties":{"nodes":{"type":"array","maxItems":2000,"items":{"type":"string","minLength":1,"maxLength":256}},"edges":{"type":"array","maxItems":10000,"items":{"type":"object","additionalProperties":false,"required":["from","to"],"properties":{"from":{"type":"string","minLength":1,"maxLength":256},"to":{"type":"string","minLength":1,"maxLength":256}}}}}},"examples":[{"input":{"adjacency":[{"node":"build","successors":["test","deploy"]},{"node":"test","successors":["deploy"]},{"node":"deploy","successors":[]}]},"output":{"nodes":["build","test","deploy"],"edges":[{"from":"build","to":"test"},{"from":"build","to":"deploy"},{"from":"test","to":"deploy"}]}}],"execute_url":"/v1/tools/graph-from-adjacency/versions/1.0.0/execute"}