topological_sort
Return a topological ordering of a directed acyclic graph, enabling dependency resolution and task scheduling.
Instructions
Return a topological ordering of a directed acyclic graph
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": {
"graph": "<graph>"
},
"name": "topological_sort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes |