graph_graph_topo_sort
Compute topological ordering of a named graph, returning a list of nodes or an error if a cycle is detected.
Instructions
[graph] Return topological order as a list, or error if the graph has a cycle.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "graph_graph_topo_sort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |