Show what this API user may call
lw_whoamiChecks which Liquid Web API methods an authenticated user or API token is permitted to call; pass version-prefixed paths to confirm allowed or denied access.
Instructions
Check which Liquid Web API methods the authenticated user (or API token) may call, via Account/User/permitted on each method's own API version. Pass paths with a version prefix, e.g. ["Network/DNS/Zone/list", "bleed/Network/DNS/Domain/details", "v2/asset/list"]; a path without a prefix is checked on v1. Omit actions to list what the API reports for one version (default v1). Returns path -> allowed (true/false).
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": "lw_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | No | API paths to check, with an optional version prefix (v1/, bleed/, v2/, v3/). | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| version | No | Version to list when actions is omitted (default v1). |
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 |