bling-bag

v0.2.0
io.github.tjclaude88/bling-bag Checked 2 days ago Published 7 months ago

Give your bot an identity!

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_identity Who's My Bot?

Who's your bot? Pull up the full identity — name, personality, quirks, appearance, and theme colours. Returns whatever's configured in bling.json. Errors if bling.json is missing or invalid.

get_theme_for_platform Style Me Up

Get your bot's colours formatted for a specific platform. Supported: terminal (ANSI codes), web (CSS variables), slack, discord, ide. Unknown platforms get the raw hex colours.

ParameterTypeDescription
platform *stringTarget platform: terminal, web, slack, discord, or ide

roll_identity Spin the Wheel

Give your bot a random identity. Pick a variant: wow (Weird Office Workers — quirky office drones, default) or legends (historical figures in absurd corporate roles). Returns a name, job title, traits, rarity score, and a screenshot-ready share card. Stores the roll for save_last_roll.

ParameterTypeDescription
variantstringWhich identity pool to use: wow (Weird Office Workers, default) or legends (historical figures in absurd corporate roles).

save_last_roll Lock It In

Save the most-recent roll as your bot's permanent identity. Errors if no roll has happened this session — call roll_identity first. Writes to bling.json, backing up any existing config to bling.json.bak first. Returns the backup path (or null if nothing was overwritten).

get_rarity_report Show Off My Card

Get the formatted share card for the most-recent roll — a plain-text block ready to screenshot and post. Errors if no roll has happened this session.