Get Provider Details
cnc_get_providerRetrieve a provider's full Crosswork record by UUID or exact name to inspect endpoints, credentials, family, reachability, and properties before updating or deleting it.
Instructions
Get the full record of one provider, by UUID or by exact name.
Read-only. Exactly one of uuid / name must be given. Use it to
inspect a provider's endpoints (connectivity_info), credential
profile (profile), family, reachability and properties (for
SR-PCE: auto-onboard, outgoing-interface, device-profile,
preferred-stack) — for example before cnc_update_provider or
cnc_delete_provider. A uuid lookup scans the (small) provider
collection and matches client-side, since uuid is not a verified
filter field on providers/query.
Returns:
str: JSON object with every provider field as Crosswork returns it
(note connectivity_info[].ipaddrs[].inet_af reads as
'ROBOT_INET_ADDR_TYPE_v4'; write bodies use 0 — don't round-trip a
read object into a write). "Error: ..." when neither or both
selectors are given, when no provider matches (verify with
cnc_list_providers), or on an API failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact provider name, case-insensitive (e.g. 'cml-pce'). No wildcards; use cnc_list_providers to search. Give either uuid or name, not both. | |
| uuid | No | Provider UUID, exactly as returned by cnc_list_providers (e.g. '4f1c2d3e-...'). Give either uuid or name, not both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |