Get core config
marzban_config_getReads the Xray core configuration as a structural summary by default, returning raw JSON for a single section or the full config when needed. Use it to inspect inbounds, outbounds, ports, protocols, and routing rules.
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 |