# Close client request

`service_requests.close`

Close this funding request using a fresh lifecycle review token for this exact action. Reuse client_request_id only for an identical retry. Existing applications are preserved; closing a request does not withdraw or submit them.

[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: write. Required OAuth scopes: mcp.

## Client portal input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "client_request_id": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "organization_slug": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "provider_slug": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "review_token": {
      "maxLength": 16000,
      "minLength": 1,
      "type": "string"
    },
    "service_request_slug": {
      "maxLength": 100,
      "pattern": "^srq_",
      "type": "string"
    },
    "user_confirmed": {
      "const": true,
      "type": "boolean"
    }
  },
  "required": [
    "service_request_slug",
    "review_token",
    "client_request_id",
    "user_confirmed",
    "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"
        },
        "closed": {
          "type": "boolean"
        },
        "deleted": {
          "type": "boolean"
        },
        "service_request_slug": {
          "type": "string"
        }
      },
      "required": [
        "service_request_slug",
        "action",
        "deleted",
        "closed"
      ],
      "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.
