> ## Documentation Index
> Fetch the complete documentation index at: https://ekso.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Rule

> MCP tools for viewing automation rules and attaching webhook-style endpoint actions.

## get\_rule\_list

Get all automation rule configurations for this tenant. Rules define automatic actions triggered by events.

| Property      |     |
| ------------- | --- |
| **Read-only** | Yes |

### Parameters

None.

### Returns

A list of `ConfigRule` objects with rule details including ID, name, trigger configuration, and actions.

## add\_endpoint\_action

Attach a webhook-style POST action to an existing rule. When the rule fires, Ekso POSTs the rule-fire envelope to the given URL. Fire-and-forget — Ekso does not inspect the response.

| Property      |    |
| ------------- | -- |
| **Read-only** | No |

### Parameters

| Name      | Type      | Description                                                                                                                                                              |
| --------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `ruleId`  | string    | ID of an existing rule (see `get_rule_list`).                                                                                                                            |
| `url`     | string    | HTTPS target URL. HTTP is allowed in development only. Private, loopback, link-local, and cloud metadata targets are blocked.                                            |
| `headers` | string\[] | Admin-configured headers as `"Name: value"` strings. Parsed on the first colon only, so values containing colons (e.g. `"Authorization: Bearer abc:xyz"`) are preserved. |

### Returns

The updated `ConfigRule` with the new endpoint action appended to `actionEndpoint`.

### See also

[Rule endpoint integrations](/guide/integrations/rule-endpoints) — envelope shape, URL restrictions, and receiver examples in Node and C#.
