# Review lifecycle client request

`service_requests.review_lifecycle`

Review closing, reopening or deleting a funding request. Closing moves it to previous requests and preserves applications; reopening returns it to current requests. Only an unused request can be deleted. Closing and deletion require explicit confirmation; the review token alone is not consent.

[Service requests guide](https://docs.levr.ai/mcp/resources/service_requests.md)

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

Operation: read. Required OAuth scopes: mcp.

## Client portal input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "action": {
      "enum": [
        "close",
        "reopen",
        "delete_empty"
      ],
      "type": "string"
    },
    "organization_slug": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "provider_slug": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "service_request_slug": {
      "maxLength": 100,
      "pattern": "^srq_",
      "type": "string"
    }
  },
  "required": [
    "service_request_slug",
    "action",
    "organization_slug",
    "provider_slug"
  ],
  "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": {
        "action": {
          "enum": [
            "close",
            "reopen",
            "delete_empty"
          ],
          "type": "string"
        },
        "can_delete": {
          "type": "boolean"
        },
        "effect": {
          "type": "string"
        },
        "review_token": {
          "type": "string"
        },
        "service_request_slug": {
          "type": "string"
        }
      },
      "required": [
        "service_request_slug",
        "action",
        "review_token",
        "effect",
        "can_delete"
      ],
      "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"
}
```
