# crew

> Every coline crew command, with its flags and the action it runs.

Source: https://docs.coline.app/cli/reference/crew

{/* Generated by apps/docs/scripts/cli-reference.ts from coline's command tree and the cli action catalog. Don't edit it: run `pnpm --filter @colineapp/docs cli:reference`. */}

Crew: ask and every crew action. Every `coline crew` command, 74 in all.

## crew ask

Ask a crew member to do something. It posts in your direct message with them, which starts their work; the answer appears there.

\--wait waits for the answer and prints it, up to --timeout seconds (120 by default, at most 600). If they're still working then, it says so and exits 0. If they need your approval, it exits 10 with the link.

```text
coline crew ask <@member> [text…] [flags]
```

**Built into coline.** · **Calls** `crew.list`, `crew.message`, `messages.read` · **Effect** write · **Can wait for your approval** no

| Flag                  | What it does                                             |
| --------------------- | -------------------------------------------------------- |
| `--body-file <file>`  | Read the request from a file; - reads stdin.             |
| `--wait`              | Wait for the answer and print it.                        |
| `--timeout <seconds>` | With --wait, how long to wait (default 120, at most 600) |

```bash
coline crew ask @kairo 'Summarize this week in #launch'
coline crew ask @scout 'Find three venues for the offsite' --wait --timeout 300
cat notes.md | coline crew ask @kairo --wait --json
```

## crew activity

Shows what a crew member is working on, what waits on the person (to approve in Coline), and what they finished recently.

It changes nothing.

```text
coline crew activity [flags]
```

**Action** `crew.activity` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--agent-user-id <id>` | Crew member id from list\_crew. Required.          |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew activity -w acme --agent-user-id <agent-user-id>
coline crew activity -w acme --json '{"agentUserId":"<agent-user-id>"}' --fields id
```

## crew allowed revoke

Takes back one of your "Always" answers to a crew member; it asks you again next time. It only ever tightens.

It removes or overwrites something, so it runs only with --confirm.

```text
coline crew allowed revoke [flags]
```

**Action** `crew.allowed.revoke` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                  |
| ---------------------- | ----------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required. |
| `--grant-id <id>`      | The answer's id, from crew\.get's controls.allowed. Required.                 |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew allowed revoke -w acme --agent-user-id <agent-user-id> --grant-id <grant-id> --confirm
coline crew allowed revoke -w acme --json '{"agentUserId":"<agent-user-id>","grantId":"<grant-id>"}' --fields id --confirm
```

## crew channels lead get

Which crew member leads a channel, and which could.

It changes nothing.

```text
coline crew channels lead get [flags]
```

**Action** `crew.channels.lead.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--channel-id <id>` | The channel's id. Required.                        |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew channels lead get -w acme --channel-id <channel-id>
coline crew channels lead get -w acme --json '{"channelId":"<channel-id>"}' --fields id
```

## crew channels lead update

Sets the crew member that leads a channel, or clears it. It must be an active team crew member in the channel. Channel managers and agent managers.

```text
coline crew channels lead update [flags]
```

**Action** `crew.channels.lead.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                     |
| ---------------------- | ---------------------------------------------------------------- |
| `--channel-id <id>`    | The channel's id. Required.                                      |
| `--agent-user-id <id>` | The crew member to lead it, or null to clear the lead. Required. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.               |

```bash
coline crew channels lead update -w acme --channel-id <channel-id> --agent-user-id <agent-user-id>
coline crew channels lead update -w acme --json '{"channelId":"<channel-id>","agentUserId":"<agent-user-id>"}' --fields id
```

## crew channels set-paused

Pauses every crew member in one channel; while paused, a mention gets a private note instead. Letting them work there again is done in Coline, not from a terminal. Channel managers.

```text
coline crew channels set-paused [flags]
```

**Action** `crew.channels.setPaused` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--channel-id <id>` | The channel's id. Required.                        |
| `--paused`          | true pauses, false resumes. Required.              |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew channels set-paused -w acme --channel-id <channel-id> --paused
coline crew channels set-paused -w acme --json '{"channelId":"<channel-id>","paused":"true"}' --fields id
```

## crew computers control

Stop, wake, recover or terminate your crew computer, or a team crew member's. Terminate keeps its disk. Taking over the screen and resetting stay in the app.

It removes or overwrites something, so it runs only with --confirm.

```text
coline crew computers control [flags]
```

**Action** `crew.computers.control` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                           | What it does                                                                               |
| ------------------------------ | ------------------------------------------------------------------------------------------ |
| `--action <text>`              | stop, wake, recover or terminate. Required. One of `stop`, `wake`, `recover`, `terminate`. |
| `--service-agent-user-id <id>` | A team crew member's computer instead of yours, by its user id. Needs crew management.     |
| `--conversation-id <id>`       | The conversation the computer works for, when waking it for one.                           |
| `--input <file>`               | Read the input as JSON from a file; - reads stdin.                                         |

```bash
coline crew computers control -w acme --action stop --confirm
coline crew computers control -w acme --json '{"action":"stop"}' --fields id --confirm
```

## crew computers get

Your crew computer, or a team crew member's: its state, who has control, the sites it is signed in to and what you may do with it.

It changes nothing.

```text
coline crew computers get [flags]
```

**Action** `crew.computers.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                           | What it does                                                                           |
| ------------------------------ | -------------------------------------------------------------------------------------- |
| `--service-agent-user-id <id>` | A team crew member's computer instead of yours, by its user id. Needs crew management. |
| `--input <file>`               | Read the input as JSON from a file; - reads stdin.                                     |

```bash
coline crew computers get -w acme
coline crew computers get -w acme --json '{}' --fields id
```

## crew computers list

Your crew's computers, and the team crew's when you manage crew: each one's state, who uses it and what it is doing.

It changes nothing.

```text
coline crew computers list [flags]
```

**Action** `crew.computers.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew computers list -w acme
coline crew computers list -w acme --json '{}' --fields id
```

## crew computers terminate

Ends a workspace member's crew computer. Its disk is kept. For people who manage crew.

It removes or overwrites something, so it runs only with --confirm.

```text
coline crew computers terminate [flags]
```

**Action** `crew.computers.terminate` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                    | What it does                                       |
| ----------------------- | -------------------------------------------------- |
| `--member-user-id <id>` | The member whose computer to end. Required.        |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew computers terminate -w acme --member-user-id <member-user-id> --confirm
coline crew computers terminate -w acme --json '{"memberUserId":"<member-user-id>"}' --fields id --confirm
```

## crew control

Pauses every crew member in the workspace at once. Resuming them is done in Coline, not from a terminal. Agent managers only.

```text
coline crew control [flags]
```

**Action** `crew.control` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                                           |
| ----------------- | ---------------------------------------------------------------------- |
| `--action <text>` | pause\_all or resume\_all. Required. One of `pause_all`, `resume_all`. |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin.                     |

```bash
coline crew control -w acme --action pause_all
coline crew control -w acme --json '{"action":"pause_all"}' --fields id
```

## crew create

Makes a crew member, for the team or just for you, with its name, avatar, brief, tools and model. You own it. It starts checking in and says hello in its DM.

```text
coline crew create [flags]
```

**Action** `crew.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                                                                                                                                              |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--scope <text>`       | workspace (default): for the team; needs permission to make crew. personal: just for you. One of `workspace`, `personal`.                                                                                 |
| `--name <text>`        | Its name, up to 32 characters; not Kairo. Required.                                                                                                                                                       |
| `--avatar <text>`      | A preset avatar as shape:colour. Shapes: round, blob, square, pill, triangle, hexagon, cloud, drop. Colours: black, brown, red, orange, amber, green, teal, blue, purple, pink, gray. Required.           |
| `--brief <text>`       | What it does and how, in your words. Required.                                                                                                                                                            |
| `--voice <text>`       | How it writes.                                                                                                                                                                                            |
| `--tool-groups <list>` | Only these tools. Leave out to give it every tool, as the app does by default. One or more of mail, calendar, tasks, notes, sheets, messages, web, browser, code, visuals, work, computers, integrations. |
| `--model <text>`       | Its model id, from the models crew can use. Required.                                                                                                                                                     |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                                                                                                                                                        |

```bash
coline crew create -w acme --name "…" --avatar "…" --brief "…" --model "…"
coline crew create -w acme --json '{"name":"…","avatar":"…","brief":"…","model":"…"}' --fields id
```

## crew delete

Removes a crew member from the workspace. Kairo can be paused but not removed. Its owner or agent managers.

It removes or overwrites something, so it runs only with --confirm.

```text
coline crew delete [flags]
```

**Action** `crew.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                  |
| ---------------------- | ----------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew delete -w acme --agent-user-id <agent-user-id> --confirm
coline crew delete -w acme --json '{"agentUserId":"<agent-user-id>"}' --fields id --confirm
```

## crew dm open

Opens your DM with a crew member and returns its id. The first time, a crew member Coline runs starts checking in and says hello.

```text
coline crew dm open [flags]
```

**Action** `crew.dm.open` · **Effect** write · **Can wait for your approval** no · **Scope** `messages.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                  |
| ---------------------- | ----------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew dm open -w acme --agent-user-id <agent-user-id>
coline crew dm open -w acme --json '{"agentUserId":"<agent-user-id>"}' --fields id
```

## crew exchanges get

One message a crew member sent another, with its reply and where it stands.

It changes nothing.

```text
coline crew exchanges get [flags]
```

**Action** `crew.exchanges.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--exchange-id <id>` | The exchange's id. Required.                       |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew exchanges get -w acme --exchange-id <exchange-id>
coline crew exchanges get -w acme --json '{"exchangeId":"<exchange-id>"}' --fields id
```

## crew get

A crew member's full profile: owner, creator, usage and cap, reply mode and what it must ask first, its email address, what it can run on, and what you may change.

It changes nothing.

```text
coline crew get [flags]
```

**Action** `crew.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                  |
| ---------------------- | ----------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew get -w acme --agent-user-id <agent-user-id>
coline crew get -w acme --json '{"agentUserId":"<agent-user-id>"}' --fields id
```

## crew goals control

Pauses, cancels, completes or fails a goal. Resuming one is done in Coline, not from a terminal.

```text
coline crew goals control [flags]
```

**Action** `crew.goals.control` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                                                                               |
| ----------------- | ---------------------------------------------------------------------------------------------------------- |
| `--goal-id <id>`  | The goal's id, from crew\.goals.list. Required.                                                            |
| `--action <text>` | pause, resume, cancel, complete or fail. Required. One of `pause`, `resume`, `cancel`, `complete`, `fail`. |
| `--reason <text>` | Why, in a few words.                                                                                       |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin.                                                         |

```bash
coline crew goals control -w acme --goal-id <goal-id> --action pause
coline crew goals control -w acme --json '{"goalId":"<goal-id>","action":"pause"}' --fields id
```

## crew goals create

Starts a goal for a crew member, in your DM with it or, for a team goal, in a channel. The crew member starts working on it right away.

```text
coline crew goals create [flags]
```

**Action** `crew.goals.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                         | What it does                                                                                                                         |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `--title <text>`             | What the goal is called. Required.                                                                                                   |
| `--kind <text>`              | goal: work toward an outcome; tracking: keep watch on something. Required. One of `tracking`, `goal`.                                |
| `--success-criteria <text>`  | What done looks like, or what to watch for. Leave out for a goal with no end; the crew member writes it on its first turn. Default . |
| `--notify-rule <text>`       | When the crew member should tell you. Leave out and the crew member writes it. Default .                                             |
| `--agent-user-id <id>`       | The crew member who works on it, by its user id (crew\.list). Required.                                                              |
| `--end-at <text>`            | When it ends. Leave out or null for no end.                                                                                          |
| `--daily-digest-doc-id <id>` | A private doc of yours for a daily digest, or null.                                                                                  |
| `--visibility <text>`        | private: works in your DM with the crew member (default); team: works in a channel, so give channelId. One of `private`, `team`.     |
| `--channel-id <id>`          | For a team goal: the channel it lives in.                                                                                            |
| `--draft-id <id>`            | A draft card's id; starting from the same draft again returns the goal already started.                                              |
| `--input <file>`             | Read the input as JSON from a file; - reads stdin.                                                                                   |

```bash
coline crew goals create -w acme --title "…" --kind tracking --agent-user-id <agent-user-id>
coline crew goals create -w acme --json '{"title":"…","kind":"tracking","agentUserId":"<agent-user-id>"}' --fields id
```

## crew goals get

One goal with its plan, helpers, outputs, scheduled checks and what the crew member said about it.

It changes nothing.

```text
coline crew goals get [flags]
```

**Action** `crew.goals.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--goal-id <id>` | The goal's id, from crew\.goals.list. Required.    |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew goals get -w acme --goal-id <goal-id>
coline crew goals get -w acme --json '{"goalId":"<goal-id>"}' --fields id
```

## crew goals helpers create

Starts a helper on an active goal: another crew member, a session of the same one, or a Code helper in a project.

```text
coline crew goals helpers create [flags]
```

**Action** `crew.goals.helpers.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                    | What it does                                                                                                                                           |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `--goal-id <id>`        | The goal's id, from crew\.goals.list. Required.                                                                                                        |
| `--kind <text>`         | agent: another crew member; session: a session of the same crew member; code: a Code helper in a project. Required. One of `agent`, `session`, `code`. |
| `--agent-user-id <id>`  | The crew member to start as the helper. Default the one doing the work.                                                                                |
| `--task-title <text>`   | A short name for the helper's task. Required.                                                                                                          |
| `--instructions <text>` | What the helper should do. Required.                                                                                                                   |
| `--project-id <id>`     | For a code helper: the Code project.                                                                                                                   |
| `--model <text>`        | For a code helper: the model to use.                                                                                                                   |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin.                                                                                                     |

```bash
coline crew goals helpers create -w acme --goal-id <goal-id> --kind agent --task-title "…" --instructions "…"
coline crew goals helpers create -w acme --json '{"goalId":"<goal-id>","kind":"agent","taskTitle":"…","instructions":"…"}' --fields id
```

## crew goals helpers get

One helper on a goal, with its messages.

It changes nothing.

```text
coline crew goals helpers get [flags]
```

**Action** `crew.goals.helpers.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag               | What it does                                       |
| ------------------ | -------------------------------------------------- |
| `--goal-id <id>`   | The goal's id, from crew\.goals.list. Required.    |
| `--helper-id <id>` | The helper's id. Required.                         |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew goals helpers get -w acme --goal-id <goal-id> --helper-id <helper-id>
coline crew goals helpers get -w acme --json '{"goalId":"<goal-id>","helperId":"<helper-id>"}' --fields id
```

## crew goals helpers stop

Stops one helper working on a goal.

```text
coline crew goals helpers stop [flags]
```

**Action** `crew.goals.helpers.stop` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag               | What it does                                       |
| ------------------ | -------------------------------------------------- |
| `--goal-id <id>`   | The goal's id, from crew\.goals.list. Required.    |
| `--helper-id <id>` | The helper's id. Required.                         |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew goals helpers stop -w acme --goal-id <goal-id> --helper-id <helper-id>
coline crew goals helpers stop -w acme --json '{"goalId":"<goal-id>","helperId":"<helper-id>"}' --fields id
```

## crew goals list

Your crew goals, or one crew member's: each goal's state, status, schedule and counts.

It changes nothing.

```text
coline crew goals list [flags]
```

**Action** `crew.goals.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--agent-user-id <id>` | Only this crew member's, by its user id.           |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew goals list -w acme
coline crew goals list -w acme --json '{}' --fields id
```

## crew goals outputs create

Lists a doc, task, change request, Code session, draft or file as one of a goal's outputs.

```text
coline crew goals outputs create [flags]
```

**Action** `crew.goals.outputs.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                                                                           |
| -------------------- | ------------------------------------------------------------------------------------------------------ |
| `--goal-id <id>`     | The goal's id, from crew\.goals.list. Required.                                                        |
| `--kind <text>`      | What the output is. Required. One of `doc`, `task`, `change_request`, `code_session`, `draft`, `file`. |
| `--title <text>`     | Its title. Required.                                                                                   |
| `--resource-id <id>` | The id of the doc, task, change request, session, draft or file. Required.                             |
| `--href <text>`      | Where it opens in Coline, as a path starting with /. Required.                                         |
| `--helper-id <id>`   | The helper that made it, if one did.                                                                   |
| `--state <text>`     | Its state. Default ready. One of `draft`, `ready`, `waiting_approval`, `published`, `failed`.          |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin.                                                     |

```bash
coline crew goals outputs create -w acme --goal-id <goal-id> --kind doc --title "…" --resource-id <resource-id> --href "…"
coline crew goals outputs create -w acme --json '{"goalId":"<goal-id>","kind":"doc","title":"…","resourceId":"<resource-id>","href":"…"}' --fields id
```

## crew goals plan update

Adds a step to a goal's plan, or changes one: its heading, title, place, state, status line and owner.

```text
coline crew goals plan update [flags]
```

**Action** `crew.goals.plan.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                                       |
| ---------------------- | -------------------------------------------------------------------------------------------------- |
| `--goal-id <id>`       | The goal's id, from crew\.goals.list. Required.                                                    |
| `--step-id <id>`       | The step to change. Leave out to add a step.                                                       |
| `--heading <text>`     | The section the step sits under. Required.                                                         |
| `--title <text>`       | The step. Required.                                                                                |
| `--position <number>`  | Its place in the plan, from 0. Required.                                                           |
| `--state <text>`       | Where the step is. Required. One of `todo`, `working`, `done`, `blocked`, `skipped`.               |
| `--status-text <text>` | A short status line, or null. Required.                                                            |
| `--owner-kind <text>`  | Who does it. Required. One of `coordinator`, `helper`, `person`, `thread`.                         |
| `--owner-id <id>`      | The helper's or person's id, a Code thread's id for thread, or null for the coordinator. Required. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                                                 |

```bash
coline crew goals plan update -w acme --goal-id <goal-id> --heading "…" --title "…" --position 10 --state todo --status-text "…" --owner-kind coordinator --owner-id <owner-id>
coline crew goals plan update -w acme --json '{"goalId":"<goal-id>","heading":"…","title":"…","position":"10","state":"todo","statusText":"…","ownerKind":"coordinator","ownerId":"<owner-id>"}' --fields id
```

## crew goals update

Replaces a goal's title, kind, success criteria, notify rule, crew member, end, digest doc and place. Give every field; pass the goal's current version.

```text
coline crew goals update [flags]
```

**Action** `crew.goals.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                         | What it does                                                                                                                         |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `--goal-id <id>`             | The goal's id, from crew\.goals.list. Required.                                                                                      |
| `--version <number>`         | The goal's version from crew\.goals.get; an edit on an older version is refused. Required.                                           |
| `--title <text>`             | What the goal is called. Required.                                                                                                   |
| `--kind <text>`              | goal: work toward an outcome; tracking: keep watch on something. Required. One of `tracking`, `goal`.                                |
| `--success-criteria <text>`  | What done looks like, or what to watch for. Leave out for a goal with no end; the crew member writes it on its first turn. Default . |
| `--notify-rule <text>`       | When the crew member should tell you. Leave out and the crew member writes it. Default .                                             |
| `--agent-user-id <id>`       | The crew member who works on it, by its user id (crew\.list). Required.                                                              |
| `--end-at <text>`            | When it ends. Leave out or null for no end.                                                                                          |
| `--daily-digest-doc-id <id>` | A private doc of yours for a daily digest, or null.                                                                                  |
| `--visibility <text>`        | private: works in your DM with the crew member (default); team: works in a channel, so give channelId. One of `private`, `team`.     |
| `--channel-id <id>`          | For a team goal: the channel it lives in.                                                                                            |
| `--input <file>`             | Read the input as JSON from a file; - reads stdin.                                                                                   |

```bash
coline crew goals update -w acme --goal-id <goal-id> --version 10 --title "…" --kind tracking --agent-user-id <agent-user-id>
coline crew goals update -w acme --json '{"goalId":"<goal-id>","version":"10","title":"…","kind":"tracking","agentUserId":"<agent-user-id>"}' --fields id
```

## crew goals wakes create

Books one check on an active goal: at that time the crew member looks again. A check within minutes of one already booked replaces it.

```text
coline crew goals wakes create [flags]
```

**Action** `crew.goals.wakes.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                    | What it does                                                     |
| ----------------------- | ---------------------------------------------------------------- |
| `--goal-id <id>`        | The goal's id, from crew\.goals.list. Required.                  |
| `--at <text>`           | When to check, in the future and before the goal ends. Required. |
| `--title <text>`        | A short name for the check. Required.                            |
| `--instructions <text>` | What the crew member should look at then. Required.              |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin.               |

```bash
coline crew goals wakes create -w acme --goal-id <goal-id> --at "…" --title "…" --instructions "…"
coline crew goals wakes create -w acme --json '{"goalId":"<goal-id>","at":"…","title":"…","instructions":"…"}' --fields id
```

## crew goals wakes delete

Removes one of a goal's scheduled checks or schedules.

It removes or overwrites something, so it runs only with --confirm.

```text
coline crew goals wakes delete [flags]
```

**Action** `crew.goals.wakes.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                | What it does                                                        |
| ------------------- | ------------------------------------------------------------------- |
| `--goal-id <id>`    | The goal's id, from crew\.goals.list. Required.                     |
| `--routine-id <id>` | The scheduled check's id, from the goal's listening list. Required. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline crew goals wakes delete -w acme --goal-id <goal-id> --routine-id <routine-id> --confirm
coline crew goals wakes delete -w acme --json '{"goalId":"<goal-id>","routineId":"<routine-id>"}' --fields id --confirm
```

## crew grants list

The things you have let your crew do: each grant's action, target, scope and when it ends.

It changes nothing.

```text
coline crew grants list [flags]
```

**Action** `crew.grants.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew grants list -w acme
coline crew grants list -w acme --json '{}' --fields id
```

## crew grants revoke

Takes back one thing you had let your crew do; it asks you again next time.

It removes or overwrites something, so it runs only with --confirm.

```text
coline crew grants revoke [flags]
```

**Action** `crew.grants.revoke` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--grant-id <id>` | The grant's id, from crew\.grants.list. Required.  |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew grants revoke -w acme --grant-id <grant-id> --confirm
coline crew grants revoke -w acme --json '{"grantId":"<grant-id>"}' --fields id --confirm
```

## crew history list

A crew member's runs, a page at a time: in progress, waiting on you and done. The first page also has how you took its check-ins.

It changes nothing.

```text
coline crew history list [flags]
```

**Action** `crew.history.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                   |
| ---------------------- | ------------------------------------------------------------------------------ |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required.  |
| `--created-at <text>`  | nextCursor.createdAt from the page before. Give both cursor fields or neither. |
| `--run-id <id>`        | nextCursor.runId from the page before.                                         |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                             |

```bash
coline crew history list -w acme --agent-user-id <agent-user-id>
coline crew history list -w acme --json '{"agentUserId":"<agent-user-id>"}' --fields id
```

## crew ideas list

What your crew offered to do ("I can…"), with why and the evidence. Open ones by default.

It changes nothing.

```text
coline crew ideas list [flags]
```

**Action** `crew.ideas.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--state <text>`       | open (default) or all. One of `open`, `all`.       |
| `--agent-user-id <id>` | Only this crew member's, by its user id.           |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew ideas list -w acme
coline crew ideas list -w acme --json '{}' --fields id
```

## crew ideas respond

Accepting an Idea returns a goal draft and starts nothing; start it with crew\.goals.create. Dismissing puts it away.

```text
coline crew ideas respond [flags]
```

**Action** `crew.ideas.respond` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                             |
| ----------------- | -------------------------------------------------------- |
| `--idea-id <id>`  | The Idea's id, from crew\.ideas.list. Required.          |
| `--action <text>` | accept or dismiss. Required. One of `accept`, `dismiss`. |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin.       |

```bash
coline crew ideas respond -w acme --idea-id <idea-id> --action accept
coline crew ideas respond -w acme --json '{"ideaId":"<idea-id>","action":"accept"}' --fields id
```

## crew list

Lists the workspace's crew members (AI teammates such as Kairo) with what each is doing now.

It changes nothing.

```text
coline crew list [flags]
```

**Action** `crew.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew list -w acme
coline crew list -w acme --json '{}' --fields id
```

## crew message

Asks a crew member to do something: posts in their direct message as the person, which starts their work. Use it when the person wants a crew member on a task.

```text
coline crew message [flags]
```

**Action** `crew.message` · **Effect** write · **Can wait for your approval** no · **Scope** `messages.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--agent-user-id <id>` | Crew member id from list\_crew. Required.          |
| `--text <text>`        | Required.                                          |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew message -w acme --agent-user-id <agent-user-id> --text "…"
coline crew message -w acme --json '{"agentUserId":"<agent-user-id>","text":"…"}' --fields id
```

## crew needs-you list

What your crew is waiting on you for: questions, approvals, sign-ins, hand-offs and finished work to check. Open ones by default. Answering stays in the app.

It changes nothing.

```text
coline crew needs-you list [flags]
```

**Action** `crew.needsYou.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--resolved`           | true for settled ones instead of open ones.        |
| `--agent-user-id <id>` | Only this crew member's, by its user id.           |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew needs-you list -w acme
coline crew needs-you list -w acme --json '{}' --fields id
```

## crew notebook entries create

Adds a line to one group of a crew member's notebook. Its owner or agent managers; not Kairo.

```text
coline crew notebook entries create [flags]
```

**Action** `crew.notebook.entries.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                                                               |
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required.                                              |
| `--group <text>`       | ongoing, decisions, preferences or how\_it\_works. Required. One of `ongoing`, `decisions`, `preferences`, `how_it_works`. |
| `--text <text>`        | The line, at least 3 characters. Required.                                                                                 |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                                                                         |

```bash
coline crew notebook entries create -w acme --agent-user-id <agent-user-id> --group ongoing --text "…"
coline crew notebook entries create -w acme --json '{"agentUserId":"<agent-user-id>","group":"ongoing","text":"…"}' --fields id
```

## crew notebook entries delete

Forgets one line in a crew member's notebook.

It removes or overwrites something, so it runs only with --confirm.

```text
coline crew notebook entries delete [flags]
```

**Action** `crew.notebook.entries.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                  |
| ---------------------- | ----------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required. |
| `--entry-id <id>`      | The line's id, from crew\.notebook.get. Required.                             |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew notebook entries delete -w acme --agent-user-id <agent-user-id> --entry-id <entry-id> --confirm
coline crew notebook entries delete -w acme --json '{"agentUserId":"<agent-user-id>","entryId":"<entry-id>"}' --fields id --confirm
```

## crew notebook entries update

Rewrites a line in a crew member's notebook, or marks an ongoing line complete. Give text, action or both.

```text
coline crew notebook entries update [flags]
```

**Action** `crew.notebook.entries.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                  |
| ---------------------- | ----------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required. |
| `--entry-id <id>`      | The line's id, from crew\.notebook.get. Required.                             |
| `--text <text>`        | The new text, at least 3 characters.                                          |
| `--action <text>`      | complete: the ongoing work it records is done.                                |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew notebook entries update -w acme --agent-user-id <agent-user-id> --entry-id <entry-id>
coline crew notebook entries update -w acme --json '{"agentUserId":"<agent-user-id>","entryId":"<entry-id>"}' --fields id
```

## crew notebook get

One crew member's own notebook, by group: ongoing work, decisions, preferences and how things work. Not the crew's shared notebook.

It changes nothing.

```text
coline crew notebook get [flags]
```

**Action** `crew.notebook.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                  |
| ---------------------- | ----------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew notebook get -w acme --agent-user-id <agent-user-id>
coline crew notebook get -w acme --json '{"agentUserId":"<agent-user-id>"}' --fields id
```

## crew ownership get

Which crew member owns a task or change request, who gave it to them, and whether you can take it over.

It changes nothing.

```text
coline crew ownership get [flags]
```

**Action** `crew.ownership.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                                        |
| ---------------- | ------------------------------------------------------------------- |
| `--kind <text>`  | task or change\_request. Required. One of `task`, `change_request`. |
| `--id <text>`    | The task's or change request's id. Required.                        |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline crew ownership get -w acme --kind task --id "…"
coline crew ownership get -w acme --json '{"kind":"task","id":"…"}' --fields id
```

## crew ownership update

Takes a task or change request over from a crew member, or gives it to someone else.

```text
coline crew ownership update [flags]
```

**Action** `crew.ownership.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                                                                         |
| ----------------- | ---------------------------------------------------------------------------------------------------- |
| `--kind <text>`   | task or change\_request. Required. One of `task`, `change_request`.                                  |
| `--id <text>`     | The task's or change request's id. Required.                                                         |
| `--action <text>` | take\_over: it becomes yours. reassign: it goes to userId. Required. One of `take_over`, `reassign`. |
| `--user-id <id>`  | For reassign: who gets it.                                                                           |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin.                                                   |

```bash
coline crew ownership update -w acme --kind task --id "…" --action take_over
coline crew ownership update -w acme --json '{"kind":"task","id":"…","action":"take_over"}' --fields id
```

## crew preferences get

Whether your personal crew is on, and the doc it writes your daily digest to.

It changes nothing.

```text
coline crew preferences get [flags]
```

**Action** `crew.preferences.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew preferences get -w acme
coline crew preferences get -w acme --json '{}' --fields id
```

## crew preferences update

Turns your personal crew on or off and sets its daily digest doc. Give both.

```text
coline crew preferences update [flags]
```

**Action** `crew.preferences.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                         | What it does                                                             |
| ---------------------------- | ------------------------------------------------------------------------ |
| `--enabled`                  | Whether your personal crew is on. Required.                              |
| `--daily-digest-doc-id <id>` | A private doc of yours for the daily digest, or null for none. Required. |
| `--input <file>`             | Read the input as JSON from a file; - reads stdin.                       |

```bash
coline crew preferences update -w acme --enabled --daily-digest-doc-id <daily-digest-doc-id>
coline crew preferences update -w acme --json '{"enabled":"true","dailyDigestDocId":"<daily-digest-doc-id>"}' --fields id
```

## crew routines control

Pauses a routine or runs it now. Resuming one is done in Coline, not from a terminal.

```text
coline crew routines control [flags]
```

**Action** `crew.routines.control` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                | What it does                                                                  |
| ------------------- | ----------------------------------------------------------------------------- |
| `--routine-id <id>` | The routine's id, from crew\.routines.list. Required.                         |
| `--action <text>`   | pause, resume or run\_now. Required. One of `pause`, `resume`, `run_now`.     |
| `--request-id <id>` | For run\_now: a new UUID. Send the same one again on a retry so it runs once. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew routines control -w acme --routine-id <routine-id> --action pause
coline crew routines control -w acme --json '{"routineId":"<routine-id>","action":"pause"}' --fields id
```

## crew routines create

Makes a routine: a crew member follows your instructions on a schedule or when something happens, and posts in a channel or DM. Anything outside that conversation needs your approval.

Set triggers with --json '\{…}' or --input.

```text
coline crew routines create [flags]
```

**Action** `crew.routines.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                            | What it does                                                                                                     |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `--agent-user-id <id>`          | The crew member that runs it. Required.                                                                          |
| `--name <text>`                 | Its name, up to 120 characters. Required.                                                                        |
| `--instructions <text>`         | What the crew member does each time. Required.                                                                   |
| `--timezone <text>`             | Your IANA time zone, e.g. America/Vancouver. Required.                                                           |
| `--container-type <text>`       | Where it posts: channel or dm. Crew just for you runs only in your DM with it. Required. One of `channel`, `dm`. |
| `--container-id <id>`           | The channel's or DM's id. Required.                                                                              |
| `--thread-root-message-id <id>` | Post in this thread instead of the conversation itself.                                                          |
| `--once`                        | Run once, on the first matching event, then expire within a week. Needs event triggers only.                     |
| `--goal-id <id>`                | The crew goal it serves; it must run with that goal's crew member and conversation.                              |
| `--source-message-id <id>`      | The message it was made from.                                                                                    |
| `--source-conversation-id <id>` | The conversation it was made from.                                                                               |
| `--level <text>`                | How much it may do: observe or act. Default observe. One of `observe`, `act`.                                    |
| `--input <file>`                | Read the input as JSON from a file; - reads stdin.                                                               |

```bash
coline crew routines create -w acme --agent-user-id <agent-user-id> --name "…" --instructions "…" --timezone "…" --container-type channel --container-id <container-id>
coline crew routines create -w acme --json '{"agentUserId":"<agent-user-id>","name":"…","instructions":"…","timezone":"…","containerType":"channel","containerId":"<container-id>","triggers":"…"}' --fields id
```

## crew routines delete

Deletes a routine; it stops running.

It removes or overwrites something, so it runs only with --confirm.

```text
coline crew routines delete [flags]
```

**Action** `crew.routines.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                | What it does                                          |
| ------------------- | ----------------------------------------------------- |
| `--routine-id <id>` | The routine's id, from crew\.routines.list. Required. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.    |

```bash
coline crew routines delete -w acme --routine-id <routine-id> --confirm
coline crew routines delete -w acme --json '{"routineId":"<routine-id>"}' --fields id --confirm
```

## crew routines get

One routine with its triggers, recent runs and what you may do with it.

It changes nothing.

```text
coline crew routines get [flags]
```

**Action** `crew.routines.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                | What it does                                          |
| ------------------- | ----------------------------------------------------- |
| `--routine-id <id>` | The routine's id, from crew\.routines.list. Required. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.    |

```bash
coline crew routines get -w acme --routine-id <routine-id>
coline crew routines get -w acme --json '{"routineId":"<routine-id>"}' --fields id
```

## crew routines list

The routines you can see, newest first: all of them, only yours, one crew member's or one conversation's.

It changes nothing.

```text
coline crew routines list [flags]
```

**Action** `crew.routines.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--agent-user-id <id>` | Only this crew member's routines.                  |
| `--mine`               | Only routines you made.                            |
| `--container-id <id>`  | Only routines that post in this channel or DM.     |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew routines list -w acme
coline crew routines list -w acme --json '{}' --fields id
```

## crew routines update

Replaces a routine with the whole new definition, as when making one. Anything outside its conversation then needs approval again.

Set triggers with --json '\{…}' or --input.

```text
coline crew routines update [flags]
```

**Action** `crew.routines.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                            | What it does                                                                                                     |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `--routine-id <id>`             | The routine's id, from crew\.routines.list. Required.                                                            |
| `--agent-user-id <id>`          | The crew member that runs it. Required.                                                                          |
| `--name <text>`                 | Its name, up to 120 characters. Required.                                                                        |
| `--instructions <text>`         | What the crew member does each time. Required.                                                                   |
| `--timezone <text>`             | Your IANA time zone, e.g. America/Vancouver. Required.                                                           |
| `--container-type <text>`       | Where it posts: channel or dm. Crew just for you runs only in your DM with it. Required. One of `channel`, `dm`. |
| `--container-id <id>`           | The channel's or DM's id. Required.                                                                              |
| `--thread-root-message-id <id>` | Post in this thread instead of the conversation itself.                                                          |
| `--once`                        | Run once, on the first matching event, then expire within a week. Needs event triggers only.                     |
| `--goal-id <id>`                | The crew goal it serves; it must run with that goal's crew member and conversation.                              |
| `--source-message-id <id>`      | The message it was made from.                                                                                    |
| `--source-conversation-id <id>` | The conversation it was made from.                                                                               |
| `--level <text>`                | How much it may do: observe or act. Leave out to keep its level. One of `observe`, `act`.                        |
| `--input <file>`                | Read the input as JSON from a file; - reads stdin.                                                               |

```bash
coline crew routines update -w acme --routine-id <routine-id> --agent-user-id <agent-user-id> --name "…" --instructions "…" --timezone "…" --container-type channel --container-id <container-id>
coline crew routines update -w acme --json '{"routineId":"<routine-id>","agentUserId":"<agent-user-id>","name":"…","instructions":"…","timezone":"…","containerType":"channel","containerId":"<container-id>","triggers":"…"}' --fields id
```

## crew rules list

Your standing rules for what crew may do on its own, by kind of action and target.

It changes nothing.

```text
coline crew rules list [flags]
```

**Action** `crew.rules.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew rules list -w acme
coline crew rules list -w acme --json '{}' --fields id
```

## crew runs control

Stops a crew run, or retries one that couldn't finish.

```text
coline crew runs control [flags]
```

**Action** `crew.runs.control` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                                        |
| ----------------- | ------------------------------------------------------------------- |
| `--run-id <id>`   | The run's id, from crew\.runs.list or crew\.history.list. Required. |
| `--action <text>` | stop or retry. Required. One of `stop`, `retry`.                    |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline crew runs control -w acme --run-id <run-id> --action stop
coline crew runs control -w acme --json '{"runId":"<run-id>","action":"stop"}' --fields id
```

## crew runs get

One crew run with its steps, sources, outside calls, approvals, the notes it used and what you may do with it.

It changes nothing.

```text
coline crew runs get [flags]
```

**Action** `crew.runs.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                                        |
| ---------------- | ------------------------------------------------------------------- |
| `--run-id <id>`  | The run's id, from crew\.runs.list or crew\.history.list. Required. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.                  |

```bash
coline crew runs get -w acme --run-id <run-id>
coline crew runs get -w acme --json '{"runId":"<run-id>"}' --fields id
```

## crew runs list

The crew runs you can see in a channel or DM.

It changes nothing.

```text
coline crew runs list [flags]
```

**Action** `crew.runs.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                      | What it does                                       |
| ------------------------- | -------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.   |
| `--container-id <id>`     | The channel's or DM's id. Required.                |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew runs list -w acme --container-type channel --container-id <container-id>
coline crew runs list -w acme --json '{"containerType":"channel","containerId":"<container-id>"}' --fields id
```

## crew runs signal

As /stop and /status in a conversation: stops the crew run working in a thread, or has it post its status for you only.

```text
coline crew runs signal [flags]
```

**Action** `crew.runs.signal` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                            | What it does                                                       |
| ------------------------------- | ------------------------------------------------------------------ |
| `--action <text>`               | stop or status. Required. One of `stop`, `status`.                 |
| `--container-type <text>`       | channel or dm. Required. One of `channel`, `dm`.                   |
| `--container-id <id>`           | The channel's or DM's id. Required.                                |
| `--thread-root-message-id <id>` | The thread's first message; leave out for the conversation itself. |
| `--input <file>`                | Read the input as JSON from a file; - reads stdin.                 |

```bash
coline crew runs signal -w acme --action stop --container-type channel --container-id <container-id>
coline crew runs signal -w acme --json '{"action":"stop","containerType":"channel","containerId":"<container-id>"}' --fields id
```

## crew set-status

Pauses a crew member, which stops its routines and clears it as a channel lead. Resuming one is done in Coline, not from a terminal. Its owner, admins and agent managers.

```text
coline crew set-status [flags]
```

**Action** `crew.setStatus` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                  |
| ---------------------- | ----------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required. |
| `--status <text>`      | paused or active. Required. One of `active`, `paused`.                        |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew set-status -w acme --agent-user-id <agent-user-id> --status active
coline crew set-status -w acme --json '{"agentUserId":"<agent-user-id>","status":"active"}' --fields id
```

## crew settings get

The workspace's crew as its settings show them: each crew member's model, share of the team's monthly usage, routines and whether it can be removed; the models crew can use; and what you may do here (make crew, manage them).

It changes nothing.

```text
coline crew settings get [flags]
```

**Action** `crew.settings.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew settings get -w acme
coline crew settings get -w acme --json '{}' --fields id
```

## crew stop-everything

Stops everything your crew is doing for you: cancels running work and pauses every goal and schedule. Nothing is deleted, and what was already done is not undone.

```text
coline crew stop-everything [flags]
```

**Action** `crew.stopEverything` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline crew stop-everything -w acme
coline crew stop-everything -w acme --json '{}' --fields id
```

## crew thread-work control

Pauses, cancels, completes or fails the work a crew member is doing in a thread. Resuming it is done in Coline, not from a terminal.

```text
coline crew thread-work control [flags]
```

**Action** `crew.threadWork.control` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                      | What it does                                                                                               |
| ------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.                                                           |
| `--container-id <id>`     | The channel's or DM's id. Required.                                                                        |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required.                                                      |
| `--action <text>`         | pause, resume, cancel, complete or fail. Required. One of `pause`, `resume`, `cancel`, `complete`, `fail`. |
| `--reason <text>`         | Why, in a few words.                                                                                       |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.                                                         |

```bash
coline crew thread-work control -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id> --action pause
coline crew thread-work control -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>","action":"pause"}' --fields id
```

## crew thread-work get

What a crew member is doing in one Messages thread: its plan, helpers, outputs, scheduled checks, who owns it and what you may do. work is null when nothing has started there.

It changes nothing.

```text
coline crew thread-work get [flags]
```

**Action** `crew.threadWork.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                      | What it does                                          |
| ------------------------- | ----------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.      |
| `--container-id <id>`     | The channel's or DM's id. Required.                   |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required. |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.    |

```bash
coline crew thread-work get -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id>
coline crew thread-work get -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>"}' --fields id
```

## crew thread-work handoff

Hands the work in a thread from the crew member doing it to another, with a brief of what was asked, done and left.

```text
coline crew thread-work handoff [flags]
```

**Action** `crew.threadWork.handoff` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                      | What it does                                                                                       |
| ------------------------- | -------------------------------------------------------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.                                                   |
| `--container-id <id>`     | The channel's or DM's id. Required.                                                                |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required.                                              |
| `--agent-user-id <id>`    | The crew member to hand it to. Required.                                                           |
| `--asked <text>`          | What was asked. Required.                                                                          |
| `--done <text>`           | What is done so far. Required.                                                                     |
| `--remaining <text>`      | What is left. Required.                                                                            |
| `--links <list>`          | Coline paths that matter, each starting with /. Required.                                          |
| `--request-id <id>`       | A new random id for this handoff; sending the same one again does not hand it off twice. Required. |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.                                                 |

```bash
coline crew thread-work handoff -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id> --agent-user-id <agent-user-id> --asked "…" --done "…" --remaining "…" --links "…" --request-id <request-id>
coline crew thread-work handoff -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>","agentUserId":"<agent-user-id>","asked":"…","done":"…","remaining":"…","links":"…","requestId":"<request-id>"}' --fields id
```

## crew thread-work helpers create

Starts a helper on the crew work in a thread: another crew member in the conversation, a session of the same one, or a Code helper. Starts the thread's work if it has none.

```text
coline crew thread-work helpers create [flags]
```

**Action** `crew.threadWork.helpers.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                      | What it does                                                                                                                                           |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.                                                                                                       |
| `--container-id <id>`     | The channel's or DM's id. Required.                                                                                                                    |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required.                                                                                                  |
| `--kind <text>`           | agent: another crew member; session: a session of the same crew member; code: a Code helper in a project. Required. One of `agent`, `session`, `code`. |
| `--agent-user-id <id>`    | The crew member to start as the helper. Default the one doing the work.                                                                                |
| `--task-title <text>`     | A short name for the helper's task. Required.                                                                                                          |
| `--instructions <text>`   | What the helper should do. Required.                                                                                                                   |
| `--project-id <id>`       | For a code helper: the Code project.                                                                                                                   |
| `--model <text>`          | For a code helper: the model to use.                                                                                                                   |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.                                                                                                     |

```bash
coline crew thread-work helpers create -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id> --kind agent --task-title "…" --instructions "…"
coline crew thread-work helpers create -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>","kind":"agent","taskTitle":"…","instructions":"…"}' --fields id
```

## crew thread-work helpers get

One helper on the crew work in a thread, with its messages.

It changes nothing.

```text
coline crew thread-work helpers get [flags]
```

**Action** `crew.threadWork.helpers.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                      | What it does                                          |
| ------------------------- | ----------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.      |
| `--container-id <id>`     | The channel's or DM's id. Required.                   |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required. |
| `--helper-id <id>`        | The helper's id. Required.                            |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.    |

```bash
coline crew thread-work helpers get -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id> --helper-id <helper-id>
coline crew thread-work helpers get -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>","helperId":"<helper-id>"}' --fields id
```

## crew thread-work helpers list

The helpers working on the crew work in a thread.

It changes nothing.

```text
coline crew thread-work helpers list [flags]
```

**Action** `crew.threadWork.helpers.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                      | What it does                                          |
| ------------------------- | ----------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.      |
| `--container-id <id>`     | The channel's or DM's id. Required.                   |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required. |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.    |

```bash
coline crew thread-work helpers list -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id>
coline crew thread-work helpers list -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>"}' --fields id
```

## crew thread-work helpers stop

Stops one helper working in a thread.

```text
coline crew thread-work helpers stop [flags]
```

**Action** `crew.threadWork.helpers.stop` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                      | What it does                                          |
| ------------------------- | ----------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.      |
| `--container-id <id>`     | The channel's or DM's id. Required.                   |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required. |
| `--helper-id <id>`        | The helper's id. Required.                            |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.    |

```bash
coline crew thread-work helpers stop -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id> --helper-id <helper-id>
coline crew thread-work helpers stop -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>","helperId":"<helper-id>"}' --fields id
```

## crew thread-work outputs create

Lists a doc, task, change request, Code session, draft or file as an output of the crew work in a thread. Starts the thread's work if it has none.

```text
coline crew thread-work outputs create [flags]
```

**Action** `crew.threadWork.outputs.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                      | What it does                                                                                           |
| ------------------------- | ------------------------------------------------------------------------------------------------------ |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.                                                       |
| `--container-id <id>`     | The channel's or DM's id. Required.                                                                    |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required.                                                  |
| `--kind <text>`           | What the output is. Required. One of `doc`, `task`, `change_request`, `code_session`, `draft`, `file`. |
| `--title <text>`          | Its title. Required.                                                                                   |
| `--resource-id <id>`      | The id of the doc, task, change request, session, draft or file. Required.                             |
| `--href <text>`           | Where it opens in Coline, as a path starting with /. Required.                                         |
| `--helper-id <id>`        | The helper that made it, if one did.                                                                   |
| `--state <text>`          | Its state. Default ready. One of `draft`, `ready`, `waiting_approval`, `published`, `failed`.          |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.                                                     |

```bash
coline crew thread-work outputs create -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id> --kind doc --title "…" --resource-id <resource-id> --href "…"
coline crew thread-work outputs create -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>","kind":"doc","title":"…","resourceId":"<resource-id>","href":"…"}' --fields id
```

## crew thread-work outputs list

The docs, tasks, change requests, sessions, drafts and files the crew work in a thread produced.

It changes nothing.

```text
coline crew thread-work outputs list [flags]
```

**Action** `crew.threadWork.outputs.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                      | What it does                                          |
| ------------------------- | ----------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.      |
| `--container-id <id>`     | The channel's or DM's id. Required.                   |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required. |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.    |

```bash
coline crew thread-work outputs list -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id>
coline crew thread-work outputs list -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>"}' --fields id
```

## crew thread-work plan get

The plan of the crew work in a thread. Empty when nothing has started there.

It changes nothing.

```text
coline crew thread-work plan get [flags]
```

**Action** `crew.threadWork.plan.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                      | What it does                                          |
| ------------------------- | ----------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.      |
| `--container-id <id>`     | The channel's or DM's id. Required.                   |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required. |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.    |

```bash
coline crew thread-work plan get -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id>
coline crew thread-work plan get -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>"}' --fields id
```

## crew thread-work plan update

Adds a step to the plan of the crew work in a thread, or changes one. Starts the thread's work if it has none.

```text
coline crew thread-work plan update [flags]
```

**Action** `crew.threadWork.plan.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                      | What it does                                                                                       |
| ------------------------- | -------------------------------------------------------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.                                                   |
| `--container-id <id>`     | The channel's or DM's id. Required.                                                                |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required.                                              |
| `--step-id <id>`          | The step to change. Leave out to add a step.                                                       |
| `--heading <text>`        | The section the step sits under. Required.                                                         |
| `--title <text>`          | The step. Required.                                                                                |
| `--position <number>`     | Its place in the plan, from 0. Required.                                                           |
| `--state <text>`          | Where the step is. Required. One of `todo`, `working`, `done`, `blocked`, `skipped`.               |
| `--status-text <text>`    | A short status line, or null. Required.                                                            |
| `--owner-kind <text>`     | Who does it. Required. One of `coordinator`, `helper`, `person`, `thread`.                         |
| `--owner-id <id>`         | The helper's or person's id, a Code thread's id for thread, or null for the coordinator. Required. |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.                                                 |

```bash
coline crew thread-work plan update -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id> --heading "…" --title "…" --position 10 --state todo --status-text "…" --owner-kind coordinator --owner-id <owner-id>
coline crew thread-work plan update -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>","heading":"…","title":"…","position":"10","state":"todo","statusText":"…","ownerKind":"coordinator","ownerId":"<owner-id>"}' --fields id
```

## crew thread-work wakes create

Books one check on the crew work in a thread: at that time the crew member looks again. Starts the thread's work if it has none.

```text
coline crew thread-work wakes create [flags]
```

**Action** `crew.threadWork.wakes.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                      | What it does                                                     |
| ------------------------- | ---------------------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.                 |
| `--container-id <id>`     | The channel's or DM's id. Required.                              |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required.            |
| `--at <text>`             | When to check, in the future and before the goal ends. Required. |
| `--title <text>`          | A short name for the check. Required.                            |
| `--instructions <text>`   | What the crew member should look at then. Required.              |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.               |

```bash
coline crew thread-work wakes create -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id> --at "…" --title "…" --instructions "…"
coline crew thread-work wakes create -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>","at":"…","title":"…","instructions":"…"}' --fields id
```

## crew thread-work wakes delete

Removes one scheduled check from the crew work in a thread.

It removes or overwrites something, so it runs only with --confirm.

```text
coline crew thread-work wakes delete [flags]
```

**Action** `crew.threadWork.wakes.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                      | What it does                                                          |
| ------------------------- | --------------------------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.                      |
| `--container-id <id>`     | The channel's or DM's id. Required.                                   |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required.                 |
| `--routine-id <id>`       | The scheduled check's id, from crew\.threadWork.wakes.list. Required. |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.                    |

```bash
coline crew thread-work wakes delete -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id> --routine-id <routine-id> --confirm
coline crew thread-work wakes delete -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>","routineId":"<routine-id>"}' --fields id --confirm
```

## crew thread-work wakes list

The scheduled checks on the crew work in a thread.

It changes nothing.

```text
coline crew thread-work wakes list [flags]
```

**Action** `crew.threadWork.wakes.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                      | What it does                                          |
| ------------------------- | ----------------------------------------------------- |
| `--container-type <text>` | channel or dm. Required. One of `channel`, `dm`.      |
| `--container-id <id>`     | The channel's or DM's id. Required.                   |
| `--root-message-id <id>`  | The id of the message the thread hangs off. Required. |
| `--input <file>`          | Read the input as JSON from a file; - reads stdin.    |

```bash
coline crew thread-work wakes list -w acme --container-type channel --container-id <container-id> --root-message-id <root-message-id>
coline crew thread-work wakes list -w acme --json '{"containerType":"channel","containerId":"<container-id>","rootMessageId":"<root-message-id>"}' --fields id
```

## crew tools list

The team and personal connections to outside services a crew member may use, and what you may change.

It changes nothing.

```text
coline crew tools list [flags]
```

**Action** `crew.tools.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                  |
| ---------------------- | ----------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                            |

```bash
coline crew tools list -w acme --agent-user-id <agent-user-id>
coline crew tools list -w acme --json '{"agentUserId":"<agent-user-id>"}' --fields id
```

## crew update

Changes a crew member's name, avatar, brief, voice, model, reply mode or what it runs on. Give only what changes.

```text
coline crew update [flags]
```

**Action** `crew.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                                                                                                                          |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--agent-user-id <id>` | The crew member's id (its user id), from crew\.list or agents.list. Required.                                                                                                         |
| `--scope <text>`       | Must match who it is for now; to change that, make a new crew member. One of `workspace`, `personal`.                                                                                 |
| `--name <text>`        | Its new name, up to 32 characters; not Kairo.                                                                                                                                         |
| `--avatar <text>`      | A preset avatar as shape:colour. Shapes: round, blob, square, pill, triangle, hexagon, cloud, drop. Colours: black, brown, red, orange, amber, green, teal, blue, purple, pink, gray. |
| `--brief <text>`       | What it does and how.                                                                                                                                                                 |
| `--voice <text>`       | How it writes; null clears it.                                                                                                                                                        |
| `--model <text>`       | Its model id.                                                                                                                                                                         |
| `--reply-mode <text>`  | Team crew only. addressed: answers messages meant for it. useful: also joins in when a reply would help. tagged: only when @mentioned. One of `addressed`, `useful`, `tagged`.        |
| `--engine <text>`      | What runs it: null for Coline, or your Claude Code or Codex. Its owner only, on crew just for them. One of `claude_code`, `codex`.                                                    |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                                                                                                                                    |

```bash
coline crew update -w acme --agent-user-id <agent-user-id>
coline crew update -w acme --json '{"agentUserId":"<agent-user-id>"}' --fields id
```
