Get core config
marzban_config_getRetrieve Xray core configuration from Marzban. Get a structural summary or fetch specific sections like inbounds or routing as raw JSON.
Instructions
Reads the Xray core configuration. Defaults to a structural summary (inbound/outbound tags, ports, protocols, routing rule count) — the full config can be tens of KB and this is usually all that's needed. Pass section (e.g. "inbounds") for one key's raw JSON, or section: "raw" for the entire config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | Return this one top-level key's raw JSON instead of the summary (e.g. "inbounds", "routing"). Use "raw" for the entire config. Omit for a structural summary — prefer that over "raw" unless you specifically need the full JSON. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| mode | Yes | ||
| section | Yes | ||
| summary | Yes |