> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloudcruise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tools

> What each CloudCruise MCP tool takes and returns

| Tool | What it does | Changes your account |
| - | - | - |
| `run` | Starts a workflow run with its inputs | Yes |
| `observe` | Follows a run or a builder turn | No |
| `build` | Starts or continues a Builder Agent conversation, or answers its question | Yes |
| `search` | Finds API operations that do what you asked | No |
| `call` | Runs one operation found with `search` | Depends on the operation |
| `whoami` | Shows your account and workspaces | No |

## API access: `search` and `call`

Covers workflows, runs, the builder, components, branches and pull requests, error codes, vault entry summaries, workspace settings, and more. Browse the [full hosted OpenAPI spec](https://api.cloudcruise.com/openapi.json).

### Find an operation

`search` finds operations from a task in plain words. Results include each operation's name, description, arguments, and execution hints.

```json search theme={null}
{
  "query": "list my workflows"
}
```

| Parameter | Default | Description |
| - | - | - |
| `query` | Required | The task in plain words |
| `limit` | `5` | Number of matching operations, up to `10` |

### Call an operation

Use the operation name and arguments returned by `search`.

```json call: list workflows theme={null}
{
  "operation": "workflows.list",
  "arguments": {
    "limit": 20,
    "view": "summary"
  },
  "workspace_id": "<workspace_id>"
}
```

```json call: rename a component theme={null}
{
  "operation": "components.rename",
  "arguments": {
    "id": "<component_id>",
    "body": {
      "name": "Invoice downloads"
    }
  },
  "workspace_id": "<workspace_id>"
}
```

Parameters for `workflows.list`:

| Parameter | Default | Description |
| - | - | - |
| `limit` | `50` | Workflows per page, newest first |
| `cursor` | First page | Last workflow's `id` from the previous page |
| `view` | `summary` | Use `full` to return all workflow fields |

## Runs: `run` and `observe`

`run` takes a `workflow_id`, the workflow's `inputs` and a `workspace_id`. It returns at once:

```json theme={null}
{
  "handle": "v1:run:<workspace_id>:<run_id>",
  "run_id": "<run_id>",
  "next": "The run continues on its own. To follow it, call observe with this handle."
}
```

Pass the handle to `observe` exactly as returned.

* Without `after`, `observe` returns the run's current state at once.
* With `after`, the value from the last result, it waits until the run changes, then says what changed.
* If nothing changes before the wait ends, call `observe` again with the same `handle` and `after`. Repeating an `observe` call is always safe.

A result while the run is going:

```json theme={null}
{
  "run_id": "<run_id>",
  "status": "start",
  "statusMessage": "Was queued, now start.",
  "attempt": 1,
  "done": false,
  "after": "r0.start",
  "next": "Call observe again with the same handle and this after value."
}
```

| Field | Meaning |
| - | - |
| `status` | The run's status without the `execution.` prefix. See [Run Statuses](https://docs.cloudcruise.com/concepts/run-statuses.md). |
| `statusMessage` | What changed since your last call, in one sentence |
| `attempt` | 1 for the first attempt. It rises when the run is requeued after an error it can retry. |
| `done` | `true` once the run has finished and will not be retried |
| `data` | The run's output, once `done` |
| `errors` | `message` and `code` for each error, once `done`, when the run did not succeed |

Each `observe` call waits at most as long as your client allows a silent tool call: about 50 seconds in Claude Code, 200 seconds in Claude, and 45 seconds in other clients. Pass `timeout_seconds` to wait less.

## Building: `build` and `observe`

`build` sends one message to the [Builder Agent](https://docs.cloudcruise.com/concepts/builder-agent.md), which works in a live browser and edits the workflow.

| To | Pass |
| - | - |
| Start a new workflow | `name`, `start_url`, `message` |
| Start from an existing workflow | `workflow_id`, `message` |
| Continue a conversation | `conversation_id`, `message` |
| Answer the builder's question | `conversation_id`, `responses` |
| Continue past a question with a message | `conversation_id`, `message`; omit `responses` |

Starting a conversation opens a browser for the builder, which can take about a minute. `build` returns the `conversation_id`, a `handle` and an `after` value. Follow the turn with `observe`.

A builder turn's `status` is one of:

| Status | Meaning | `done` |
| - | - | - |
| `processing` | The builder is working | No |
| `awaiting-human-input` | The builder asked a question; the result carries it under `question` | Yes |
| `completed` | The builder finished the turn. `report`, when present, contains its latest reply | Yes |
| `agent-errored` | The builder stopped on an error | Yes |
| `idle` | Waiting for a message. `interrupted: true` means the last turn was stopped. | Yes |
| `ended` | The conversation is over | Yes |

Once the builder has saved the workflow, `observe` returns its `workflow_id`. Use it with `run`.

### Answering questions

Use each field's `name` from `question.fields` as the key in `responses`. The keys depend on the question; the field's `type` determines the value.

| Field type | Response value |
| - | - |
| `text` | String |
| `number` | Number |
| `boolean` | `true` or `false` |
| `select` | One of the field's `options` |
| `array` | Array of strings or objects, following `itemsType` and `columns` |
| `json_schema` | JSON schema object |
| `auth` | Vault entry reference: `{ "permissioned_user_id": "...", "domain": "..." }` |
| `file` | Uploaded file URL |
| `secret` | Enter in the dashboard when marked `enter_in_dashboard` |
| `error` | `{ "kind": "existing", "error_code_id": "..." }`, `{ "kind": "accept_suggestion" }`, or `{ "kind": "remove_confirmed" }`, depending on the question |

For an error-code question with a field named `invoice_not_found`, accept the builder's suggestion:

```json build: accept a suggested error code theme={null}
{
  "conversation_id": "<conversation_id>",
  "workspace_id": "<workspace_id>",
  "responses": {
    "invoice_not_found": {
      "kind": "accept_suggestion"
    }
  }
}
```

Use `remove_confirmed` when the builder asks you to confirm removing an error-code assignment.

For a question with fields named `invoice_month` and `include_paid`:

```json build: answer a question theme={null}
{
  "conversation_id": "<conversation_id>",
  "workspace_id": "<workspace_id>",
  "responses": {
    "invoice_month": "2026-11",
    "include_paid": false
  }
}
```

You can also send a message while a question is open. Omit `responses` to continue without submitting the form's answers:

```json build: continue with a message theme={null}
{
  "conversation_id": "<conversation_id>",
  "workspace_id": "<workspace_id>",
  "message": "Leave this unanswered for now and continue with the next step."
}
```

Pass either `message` or `responses`, not both. The builder may ask again if the missing answer is needed to continue.

### Stopping and ending

* To stop a running turn, `call` the operation `builder.interrupt` with `{ "conversationId": "<conversation_id>" }`. The conversation stays open for another message.
* When you're done, `call` `builder.end` the same way. It closes the conversation and its browser. Keep the `workflow_id` first: `observe` does not return it after the conversation ends, and edits the builder has not saved are lost.

If a conversation was cleared, `observe` returns `ended` with a `successor_conversation_id`. Send the next message to that conversation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.