# ui.pop

> Talos next · Since next

[editor (test session)] Pop the top screen, as ctx.ui.pop and the player's Escape do.

Refused when only the HUD is left, rather than emptying the stack.

| | |
|---|---|
| Title | Close the top screen |
| Mode |  |
| Token cost | about 80 tokens (listed only when its toolset is enabled) |
| Toolset | `ui` |

## Arguments

| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| `agent` | `string` | no |  |  | The name of the agent making the call, when several agents share one connection: each named agent is its own actor and plays its own game. Leave it out when there is one agent. |

## Example

An MCP `tools/call` with the required arguments (placeholders in angle brackets).

```json
{
  "name": "ui.pop",
  "arguments": {}
}
```
