tide_discover
FIND OUT WHERE THE USER ACTUALLY STANDS before planning anything — which clusters and realms already exist, whether this repo is already bound to one, which one-way doors have already been crossed, and whether the app's redirect URI is registered. Returns a ready-to-run command that writes .tide/state.json, plus how to read it. RUN THE COMMAND; do not just describe it. Then pass the resulting JSON to tide_plan. CALL THIS FIRST whenever a TideCloak server may already exist — 'add a realm', 'we already have TideCloak', 'add auth to this app', 'set up another environment', or any request where creating fresh infrastructure would be wrong. Never assume a missing fact means a missing cluster.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tide_discover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | No | Project to scan. Default: the current directory. | |
| include_live | No | Probe the live server too (default true). False = repo facts only. |