# Update recipient choices

`projects.update_matchmaking_selections`

Add or remove reviewed recipients from the funding request's saved choices. Read the current matchmaking state first and pass its revision. Copy run/result/package-version values from matching state and result summaries. additions use match_result_slug plus expected_package_version; removals use saved deal_target_key values.

[Matchmaking guide](https://docs.levr.ai/mcp/resources/matchmaking.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: write. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "additions": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "expected_package_version": {
            "minimum": 1,
            "type": "integer"
          },
          "match_result_slug": {
            "description": "Copy slug (pmres_) from projects.list_matchmaking_result_summaries.items.",
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "match_result_slug",
          "expected_package_version"
        ],
        "type": "object"
      },
      "maxItems": 50,
      "type": "array"
    },
    "expected_revision": {
      "description": "revision returned by the latest Project matchmaking read.",
      "minimum": 0,
      "type": "integer"
    },
    "idempotency_key": {
      "format": "uuid",
      "type": "string"
    },
    "provider_slug": {
      "description": "Copy provider_slug from providers.list; named slugs are valid.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "removals": {
      "items": {
        "maxLength": 255,
        "minLength": 1,
        "type": "string"
      },
      "maxItems": 50,
      "type": "array"
    },
    "run_slug": {
      "description": "Copy slug (pmrun_) from projects.get_matchmaking run summaries; for cancellation use active_run.slug.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "workspace_slug": {
      "description": "Matching workspace: copy workspace_slug (mmw_) from projects.get or projects.list; not project_slug.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "workspace_slug",
    "run_slug",
    "expected_revision",
    "additions",
    "removals",
    "idempotency_key"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "revision": {
          "minimum": 0,
          "type": "integer"
        },
        "selections": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "created_at": {
                "format": "date-time",
                "type": "string"
              },
              "deal_target_key": {
                "maxLength": 255,
                "minLength": 1,
                "type": "string"
              },
              "selected_package_version": {
                "minimum": 1,
                "type": "integer"
              },
              "updated_at": {
                "format": "date-time",
                "type": "string"
              }
            },
            "required": [
              "deal_target_key",
              "selected_package_version",
              "created_at",
              "updated_at"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "workspace_slug": {
          "description": "Stable public identifier for the referenced resource.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "workspace_slug",
        "revision",
        "selections"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```

Check the result, then read the affected record to confirm your change.
