tools.get_server_diagnostics module

Retrieve total guild count and member/channel roster for a specific guild.

async tools.get_server_diagnostics.run(guild_id, ctx=None)[source]

Execute this tool and return the result.

Parameters:
  • guild_id (str) – Discord guild (server) identifier.

  • ctx (ToolContext | None) – Tool execution context providing access to bot internals.

Returns:

Result string.

Return type:

str