list_metadata_variables
Fetch metadata variables for an ADOM and their device mappings; specify a device to see each variable's effective value and whether it comes from the device or ADOM default.
Instructions
List an ADOM's metadata variables and their per-device values.
Metadata variables are what templates reference as $(name); a model
device import (add_model_device with meta_variables) stores its
values as per-device mappings. Password-type values are redacted.
Args:
adom: ADOM name
device: Optional device name; when given, device_values holds the
effective value of every variable for that device and where it
comes from ("device" mapping or ADOM "default")
Returns:
dict: status, count, variables (name, type, description, default,
mappings[{device, vdom, value}]) and, with device, device_values
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": {
"adom": "<adom>"
},
"name": "list_metadata_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| device | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||