# stage_show

Plays CMDOP's opening on the machine's screens, then shows your text and question as buttons. Waits up to 45 s for a pick; returns it and the machine's details.

**In short:** Risk class [`control`](https://docs.cmdop.ai/reference/tools.md#risk-classes). Over MCP call `stage_show`; over HTTP send `"tool": "stage_show"` to [`POST /api/v1/call`](https://docs.cmdop.ai/reference/http/post-call.md).

## Arguments

Over MCP every tool also takes `machine`: the machine's name or id, optional when only one machine is online.

| Name | Type | Required | Meaning |
| --- | --- | --- | --- |
| `options` | `object[]` | no | The answers the person can pick, 2 to 4, shown as buttons in this order. Needs `question`. |
| `question` | `string` | no | A question for the person at the machine, at most 120 characters. Needs `options`. |
| `text` | `string` | no | Your words, shown under the logo once the opening ends: plain text, at most 160 characters, one or two short sentences. |

## Result

| Name | Type | Required | Meaning |
| --- | --- | --- | --- |
| `answer` | `string` | no | The `id` of the option the person picked; null unless `outcome` is `answered`. |
| `machine` | `object` | no | The machine, as `sys_info` reports it; null when this caller may not read it. |
| `outcome` | `"answered" \| "closed" \| "timeout" \| "paused"` | yes | How the stage ended. |

## Examples

**MCP**

```json
{
  "name": "stage_show",
  "arguments": {
    "machine": "<machine>"
  }
}
```

**HTTP**

```bash
curl -sS -X POST "https://<contour>.cmdop.dev/api/v1/call" \
  -H "Authorization: Bearer $CMDOP_TOKEN" \
  -H "x-cmdop: 1" \
  -H "Content-Type: application/json" \
  -d '{"machine":"<machine>","tool":"stage_show","args":{}}'
```

## Limits

The call times out after 55 s (`timed_out`). Available since version 0.1.16. A refused or failed call returns one of the [error codes](https://docs.cmdop.ai/reference/errors.md).
