matching
Compute the maximum-weight vertex pairing in a graph where each vertex is used at most once, solving optimal assignment problems.
Instructions
Find maximum weight matching in a 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": "matching"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | ||
| max_cardinality | No |