Get an asset's login
lw_asset_passwordRetrieves the stored username and password for a Liquid Web asset by its six-character ID when you explicitly need the credential for access or configuration.
Instructions
Return the stored username and password for an asset (v2 asset/password). Only use when the user explicitly needs the credential. Do not repeat the password in later messages or logs. Returns credentials: needs LW_ALLOW_SECRETS.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uniq_id": "<uniq_id>"
},
"name": "lw_asset_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accnt | No | Account number to act on, for users with access to more than one account. Omit for your own account. | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| uniq_id | Yes | Six-character asset id (uniq_id), e.g. "ABC123". Get it from lw_asset_list or lw_server_list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| context | No | ||
| preview | No | ||
| summary | Yes | ||
| warnings | No | ||
| next_page | No | ||
| next_step | No | ||
| truncated | No | ||
| expires_at | No | ||
| confirm_token | No |