diff --git a/backend/src/modules/mcp/bgp-prefix-actions.ts b/backend/src/modules/mcp/bgp-prefix-actions.ts index be0641cc..7d67e482 100644 --- a/backend/src/modules/mcp/bgp-prefix-actions.ts +++ b/backend/src/modules/mcp/bgp-prefix-actions.ts @@ -20,7 +20,7 @@ async function access(context: ActionContext) { } export function registerBgpPrefixActions(register: typeof add) { const observation = bgpRibSelection.safeExtend({ serverId: z.number().int().positive().safe() }) - register("routing.bgp.rib.read", "mm_bgp_rib_get", "Количество или страницы всех путей IPv4 BGP RIB, включая filtered. Для выборки по соседу укажите sessionName из bgp.session или peerCacheId. В следующих страницах передавайте expectedFingerprint первой страницы", "bgp", permissions, "read", "servers", observation, { read: async (input, context) => { + register("routing.bgp.rib.read", "mm_bgp_rib_get", "IPv4 BGP RIB с filtered-путями. Для соседа укажите sessionName или peerCacheId. Для следующих страниц сохраните expectedFingerprint первой страницы", "bgp", permissions, "read", "servers", observation, { read: async (input, context) => { const { serverId, ...selection } = observation.parse(input) await access(context) const source = await createRoutingSourceContext(await readRoutingEndpoints([serverId]))