cycles_detection
Detect cycles in a graph by computing a cycle basis for undirected graphs or performing a DAG check for directed graphs.
Instructions
Detect cycles in a graph (cycle basis for undirected, DAG check for directed)
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": "cycles_detection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes |