# Context.host
URL: https://lsd.tools/docs/api-context-host
Updated: 2026-07-17

## Example

```python
@tool.command("demo/info")
def info(ctx: Context):
    host = ctx.host          # the registration surface
```

## Notes

One of the lazily populated `Context` slots — it is `None` when the capability is absent (for example
in a headless run). Always guard before use.

## See also

**API:** [engine](/docs/api-context-engine) · [project](/docs/api-context-project) · [Context](/docs/api-context)

**Guides:** [Commands & actions](/docs/tools-commands-actions)
