# ui.focus

> Talos next · Since next

[editor (test session)] Focus a node by id, or move focus one step up, down, left or right: test gamepad and keyboard navigation without either.

By id it walks Tab; refused if Tab never arrives (unreachable). Answers what got focus.

| | |
|---|---|
| Title | Move UI focus |
| Mode |  |
| Token cost | about 139 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. |
| `direction` | `enum` | no |  | `up`, `down`, `left`, `right` | Move one step instead |
| `id` | `string` | no |  |  | The node to focus |

## Example

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

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