---
title: "corestack_redirects_get"
url: https://docs.corefinity.com/mcp/tools/corestack_redirects_get
type: tool
last_updated: 2026-11-13
feature: redirects
related:
  - https://docs.corefinity.com/api/reference/site-settings/get-site-redirects.md
  - https://docs.corefinity.com/guides/sites/site-settings/redirects.md
---
# corestack_redirects_get

**Redirects.** A row's redirect rules in position order, with their ids and the table's version — which corestack_redirects_update needs. An exact match, including a prefix rule's own path, is taken first whatever its position; prefix and regex rules are then tried in order. Rules limited to a domain run before the every-domain rules. Scope: read.

- Scope: `read`
- Runs as a task: no

## When to use it

A row's redirect rules in position order, with their ids and the table's version — which corestack_redirects_update needs. An exact match, including a prefix rule's own path, is taken first whatever its position; prefix and regex rules are then tried in order. Rules limited to a domain run before the every-domain rules.

## Inputs

- `site_id` (integer, ≥ 1, required)

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "site_id": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "site_id"
  ],
  "type": "object"
}
```

## Refusals

- The refusals every tool can answer: `invalid_arguments`, `tenant_mismatch`, `scope_required`, `pin_refused`, `rate_limited`, `temporarily_unavailable`, `internal_error` (corestack://guides/how-this-server-works).

## Example

```json
{
  "name": "corestack_redirects_get",
  "arguments": {
    "site_id": 4211
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corestack_redirects_get with site_id 4211. (Redirects.) Tell me what it returned.
```

## The same task elsewhere

- Endpoint: [GET /api/corestack/sites/{site}/redirects](https://docs.corefinity.com/api/reference/site-settings/get-site-redirects.md)
- Guide: [Redirects](https://docs.corefinity.com/guides/sites/site-settings/redirects.md)
