refresh_topology
Update Azure infrastructure topology data by re-querying Azure Resource Graph, ARM, and Network Watcher APIs to ensure current resource relationships and connectivity information.
Instructions
Refresh the topology cache by re-querying Azure
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"type": "object"
}
Implementation Reference
- src/server.ts:559-574 (handler)Handler for refresh_topology tool: invalidates cache and rebuilds topology by calling buildTopology(), returns success message with counts.case 'refresh_topology': { topologyCache = null; cacheTimestamp = 0; const topology = await buildTopology(); return { content: [ { type: 'text', text: `Topology refreshed successfully.\n\n` + `Resources: ${topology.nodes.length}\n` + `Connections: ${topology.edges.length}`, }, ], }; }
- src/server.ts:419-425 (registration)Registration of refresh_topology tool in ListTools response, with description and empty input schema.name: 'refresh_topology', description: 'Refresh the topology cache by re-querying Azure', inputSchema: { type: 'object', properties: {}, }, },