gt_mechanism_gale_shapley
Finds a proposer-optimal stable matching using deferred acceptance. Accepts proposers and receivers with preferences and optional capacities, and checks for blocking pairs.
Instructions
Stable matching via deferred acceptance. Proposers/receivers each have {id, preferences} (and optional capacity for receivers). Returns a proposer-optimal stable matching plus a blocking-pair sanity check.
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": {
"proposers": "<proposers>",
"receivers": "<receivers>"
},
"name": "gt_mechanism_gale_shapley"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposers | Yes | ||
| receivers | Yes |