a digital person for bluesky

Add X profile search tool for user lookup

- Created tools/x_profile.py with search_x_profile function
- Supports comprehensive profile information lookup via X API v2
- Includes user fields: name, bio, metrics, verification status, etc.
- Returns YAML-formatted data for agent consumption
- Updated register_x_tools.py to include the new profile search tool
- Successfully tested tool registration with void agent

This enables void to look up detailed information about X users when analyzing conversations or interactions.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

Changed files
+9 -2
+9 -2
register_x_tools.py
··· 26 26 # Import X post tool 27 27 from tools.x_post import post_to_x, PostToXArgs 28 28 29 - # Import X search tool 29 + # Import X search tools 30 30 from tools.search_x import search_x_posts, SearchXArgs 31 + from tools.x_profile import search_x_profile, SearchXProfileArgs 31 32 32 33 letta_config = get_letta_config() 33 34 logging.basicConfig(level=logging.INFO) ··· 122 123 "tags": ["x", "twitter", "post", "create", "standalone"] 123 124 }, 124 125 125 - # X search tool 126 + # X search tools 126 127 { 127 128 "func": search_x_posts, 128 129 "args_schema": SearchXArgs, 129 130 "description": "Get recent posts from a specific X (Twitter) user", 130 131 "tags": ["x", "twitter", "search", "posts", "user"] 132 + }, 133 + { 134 + "func": search_x_profile, 135 + "args_schema": SearchXProfileArgs, 136 + "description": "Look up detailed profile information for an X (Twitter) user", 137 + "tags": ["x", "twitter", "profile", "lookup", "user"] 131 138 } 132 139 ] 133 140