> For the complete documentation index, see [llms.txt](https://docs.rumi.systems/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rumi.systems/rumi-cli/commands/tools/discovery.md).

# discovery

The `rumi discovery` command provides an interactive tool for diagnosing discovery issues and inspecting discovery caches.

## Overview

The discovery command assists in troubleshooting discovery problems by providing interactive access to discovery caches. It allows you to inspect advertised entities and monitor entity lifecycle events in real-time.

## Usage

```bash
rumi discovery [options] [discovery-descriptor]
```

{% hint style="info" %}
**Documentation Pending**: This command is currently being ported from the X Platform DiscoveryTool. Full documentation will be available in a future release.
{% endhint %}

## Key Features

* **Interactive Shell**: Command-line interface for exploring discovery caches
* **Cache Inspection**: View all entities advertised in a discovery cache
* **Real-time Monitoring**: Monitor entity lifecycle events as they occur
* **Multi-provider Support**: Works with various discovery providers (multicast, Solace, etc.)

## Related Topics

* [Discovery Model](/rumi-core/concepts/discovery-model.md) - Understanding how discovery works
* [Discovery Configuration](/rumi-core/guides/developing-applications/configuring-the-runtime/discovery/discovery-configuration.md) - Configure discovery providers
* [Admin Over SMA](/rumi-core/guides/developing-applications/configuring-the-runtime/administration/admin-over-sma.md) - Discovery for admin connectivity

## See Also

* [rumi tools admin](/rumi-cli/commands/tools/admin.md) - Administrative command-line tool
* [rumi tools hbdump](/rumi-cli/commands/tools/hbdump.md) - Heartbeats dump tool
* [rumi tools tlt](/rumi-cli/commands/tools/tlt.md) - Transaction log tool


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.rumi.systems/rumi-cli/commands/tools/discovery.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
