general/fictional-characters-by-role-in-the-narrative-structure
Surf Wiki
Foil (narrative)
Character who contrasts with another character of a narrative work
Comic relief
Inclusion of humor in otherwise serious contexts
Gag character
Fictional character mainly used for comedy
Confidant
Character in a story that a protagonist confides in and trusts