oz0 channel bind
Create or replace a binding.
For: Operators and developers looking up a command.
Create or replace a binding. The first --agent is the one a mention or a slash command starts when it names none; a message whose first word is another of the agents starts that one. --workspace and --room narrow the binding to one workspace and one room of the chat system (their IDs there); the most specific binding wins.
Usage
oz0 channel bind <name> --channel <channel> --agent <agent> [--agent <agent>...] [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--agent | stringArray | an agent the channel may start (repeatable; the first is the default) | |
--allow | string | members | who may start the agents: members (mapped people, as their accounts) or everyone (as service:channel/<name>) |
--channel | string | the channel, as its plugin names it (such as slack or discord) | |
--json | bool | print JSON instead of a table | |
--purpose | string | the purpose the jobs it starts name: one each of its agents declares | |
--room | string | only in this room (a channel ID) | |
--team | string | the team the jobs count toward for quotas | |
--tenant | string | default | tenant |
--workspace | string | only in this workspace of the chat system (a Slack workspace or Discord server ID) |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.