List required credentials
list_required_credentialsIdentify which credentials a profile needs, which the target already has, and how to obtain each missing one, via a read-only environment check that never reads values.
Instructions
List the credentials the profile references, which the target already provides, and how to acquire each missing one. Value-blind: it reads only whether each env var is set — no values, no network, no writes — via one read-only probe. Parameter semantics: target selects the machine (local or SSH) and its home sets the returned template path and the env file the presence check reads; there are no other parameters. Returns present/missing var-name arrays plus one guidance record per credential (var, purpose, url, method, command). Use it after plan_clone to see what would degrade; act on one credential with run_auth_flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | The machine to operate on: this host (local) or a remote host over SSH (ssh). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Label of the inspected target. | |
| missing | Yes | Credential names not present. | |
| present | Yes | Credential names already present on the target. | |
| template | Yes | Path of the env file to fill in. | |
| credentials | Yes | Every credential the profile references with its acquisition guidance. |