tools.get_user_profile module

Fetch a Discord user’s profile information including avatar.

async tools.get_user_profile.run(target_user_id, ctx=None)[source]

Execute this tool and return the result.

Parameters:
  • target_user_id (str) – The target user id value.

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

Returns:

Result string.

Return type:

str