# Retry unfinished funding matches

`projects.retry_matchmaking`

Retry only the failed recipients from one funding match calculation. Completed results and the calculation's frozen inputs stay unchanged. Check get_matchmaking for failed work before retrying, then poll it; this does not use newly edited answers.

[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": {
    "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"
    },
    "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",
    "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": {
        "run": {
          "additionalProperties": false,
          "properties": {
            "answers_revision": {
              "anyOf": [
                {
                  "description": "Revision of the matchmaking application answers, or null before they exist.",
                  "minimum": 0,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Revision of the matchmaking application answers, or null before they exist."
            },
            "attempt_sequence": {
              "anyOf": [
                {
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "coverage": {
              "additionalProperties": false,
              "properties": {
                "cancelled": {
                  "minimum": 0,
                  "type": "integer"
                },
                "classification_counts": {
                  "additionalProperties": false,
                  "properties": {
                    "insufficient_information": {
                      "minimum": 0,
                      "type": "integer"
                    },
                    "match": {
                      "minimum": 0,
                      "type": "integer"
                    },
                    "not_a_match": {
                      "minimum": 0,
                      "type": "integer"
                    },
                    "not_assessed": {
                      "minimum": 0,
                      "type": "integer"
                    },
                    "partial_fit": {
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "match",
                    "partial_fit",
                    "insufficient_information",
                    "not_a_match",
                    "not_assessed"
                  ],
                  "type": "object"
                },
                "classify_completed": {
                  "minimum": 0,
                  "type": "integer"
                },
                "classify_total": {
                  "minimum": 0,
                  "type": "integer"
                },
                "completed": {
                  "minimum": 0,
                  "type": "integer"
                },
                "enrich_completed": {
                  "minimum": 0,
                  "type": "integer"
                },
                "enrich_total": {
                  "minimum": 0,
                  "type": "integer"
                },
                "failed": {
                  "minimum": 0,
                  "type": "integer"
                },
                "total": {
                  "minimum": 0,
                  "type": "integer"
                },
                "unresolved": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "total",
                "completed",
                "failed",
                "cancelled",
                "classification_counts",
                "unresolved"
              ],
              "type": "object"
            },
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "impactful_missing_fields": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "affected_results": {
                    "minimum": 1,
                    "type": "integer"
                  },
                  "block_key": {
                    "type": "string"
                  },
                  "field_key": {
                    "type": "string"
                  },
                  "field_label": {
                    "type": "string"
                  },
                  "help_text": {
                    "type": "string"
                  },
                  "question_label": {
                    "type": "string"
                  },
                  "section_key": {
                    "type": "string"
                  },
                  "section_label": {
                    "type": "string"
                  }
                },
                "required": [
                  "field_key",
                  "question_label",
                  "field_label",
                  "help_text",
                  "affected_results"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "is_publishable": {
              "type": "boolean"
            },
            "is_stale": {
              "type": "boolean"
            },
            "recovery": {
              "additionalProperties": false,
              "properties": {
                "can_retry": {
                  "type": "boolean"
                },
                "reason": {
                  "anyOf": [
                    {
                      "enum": [
                        "inputs_changed",
                        "running",
                        "complete"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "remaining": {
                  "additionalProperties": false,
                  "properties": {
                    "classify": {
                      "minimum": 0,
                      "type": "integer"
                    },
                    "enrich": {
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "classify",
                    "enrich"
                  ],
                  "type": "object"
                },
                "run_slug": {
                  "description": "Copy slug (pmrun_) from projects.get_matchmaking run summaries; for cancellation use active_run.slug.",
                  "maxLength": 255,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "run_slug",
                "can_retry",
                "reason",
                "remaining"
              ],
              "type": "object"
            },
            "sequence": {
              "minimum": 1,
              "type": "integer"
            },
            "slug": {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "state": {
              "enum": [
                "queued",
                "running",
                "partially_complete",
                "completed",
                "failed",
                "cancelled"
              ],
              "type": "string"
            },
            "updated_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "slug",
            "sequence",
            "state",
            "coverage",
            "answers_revision",
            "recovery",
            "is_stale",
            "is_publishable",
            "impactful_missing_fields",
            "attempt_sequence",
            "created_at",
            "updated_at"
          ],
          "type": "object"
        },
        "workspace_slug": {
          "description": "Stable public identifier for the referenced resource.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "workspace_slug",
        "run"
      ],
      "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.
