CLI & Agent Skill
Commands
The mr command groups, output format and options shared by every command.
Every command follows the pattern mr <group> <action> [options]. Run mr --help for the full list, or add --help to a command for its usage.
Command groups
| Group | Manages | API Reference |
|---|---|---|
mr router | Routers, their members, aliases and tags | Routers |
mr provider-key | LLM provider keys | Provider Keys |
mr model-group | Model groups and their members | Model Groups |
mr catalog | The model catalog, publishers, providers and tags | Catalog |
mr prompt | Prompts and their versions | Prompts |
mr github | GitHub connections for GitHub prompts | GitHub Prompt |
mr prompt-repo | GitHub prompt repositories and tracked files | GitHub Prompt |
mr traffic | Requests, metrics and CSV export | Traffic |
mr api-token | API key details (never the key itself) | API Tokens |
mr budget Enterprise | Budgets, alerts, model caps, overrides and requests | Budgets |
mr agent Enterprise | Agents issued from the Portal | Agents |
mr organization Enterprise | Organizations | Organizations |
mr invite Enterprise | Invitations | Invites |
mr sso Enterprise | Single sign-on settings | SSO |
mr machine-identity Enterprise | Issuers and bindings | Machine Identity |
mr profile | Local profiles | Installing the CLI |
mr skill | The agent skill | Agent Skill |
Examples
Output
Commands print JSON in the same shape as the API, which suits scripts and agents. Add --human for a readable table where one is available. A list prints {organization_id, data: [...], next_cursor, has_more}; pass next_cursor back with --cursor to read the next page.
Shared options
| Option | Meaning |
|---|---|
--profile NAME | Use this profile instead of the default. |
--human | Readable output instead of JSON. |
--body-file FILE | Send the request body from a file, or from standard input with -. For mr prompt create and mr prompt edit it is the prompt text; use --body-json-file for a JSON body. |
--if-match ETAG | Change an object only if it is still at this version, such as '"2"'. When it is left out, the CLI reads the current version first for most objects. |
--dry-run | Ask Multi-Router to check a change without applying it. The request is still sent with your key, so it needs the same access as the change. Available on many changes. |
Deletes are permanent
Commands that delete, such as
mr router delete, act immediately. Some require an extra confirmation option, such as --confirm-delete, so they cannot run by accident.Was this helpful?