netmiko.get_metadata
Retrieve authoritative metadata about the Netmiko MCP server, including inventory backend type and freshness, capabilities, and command policy status — call this tool first before any other network device operation.
Instructions
Return authoritative metadata about the Netmiko MCP server and its inventory.
MANDATORY — call this tool FIRST on EVERY user message that mentions, asks about, or relates to network devices, routers, switches, firewalls, show commands, device inventory or device groups, before any other netmiko tool and before answering from memory, system prompt, or RAG/FAQ.
It reports which inventory backend is active (Fedele or the local YAML file) and, for the local file, how old it is. That matters: operating from a stale local inventory can send a command to the wrong box.
This tool does NOT reach any network device. For "is the MCP alive" call netmiko.health_check. To actually query a device, use netmiko.send_show_command.
Returns:
str: JSON with version, author, description, inventory, capabilities,
command_policy and tool_routing. command_policy is "file" when the
operator's allow/deny list is in force and "fallback" when no policy file
exists — in that case a warning field says so, only a handful of
read-only commands will be accepted, and you must relay that warning to
the user instead of treating the denials as device failures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |