graph_coloring
Color the vertices of a graph so that adjacent vertices receive different colors, using a greedy algorithm with strategy options like largest_first for efficient coloring.
Instructions
Color graph vertices using greedy algorithm
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": "graph_coloring"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | ||
| strategy | No | largest_first |