From d0e215e2316c8f14c18370dd66d72d40092f5f78 Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Thu, 14 Aug 2025 21:36:47 -0700 Subject: [PATCH] Register X posting tools with void agent - Add post_to_x and add_post_to_x_thread to register_tools.py - Both tools now available for void to use - post_to_x: Create standalone X posts - add_post_to_x_thread: Add posts to X reply threads --- register_tools.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/register_tools.py b/register_tools.py index 0f677d1..41a88da 100755 --- a/register_tools.py +++ b/register_tools.py @@ -20,6 +20,8 @@ from tools.ignore import ignore_notification, IgnoreNotificationArgs from tools.whitewind import create_whitewind_blog_post, WhitewindPostArgs from tools.ack import annotate_ack, AnnotateAckArgs from tools.webpage import fetch_webpage, WebpageArgs +from tools.x_post import post_to_x, PostToXArgs +from tools.x_thread import add_post_to_x_thread, XThreadPostArgs letta_config = get_letta_config() logging.basicConfig(level=logging.INFO) @@ -115,6 +117,18 @@ TOOL_CONFIGS = [ "description": "Fetch a webpage and convert it to markdown/text format using Jina AI reader", "tags": ["web", "fetch", "webpage", "markdown", "jina"] }, + { + "func": post_to_x, + "args_schema": PostToXArgs, + "description": "Create a new standalone post on X (Twitter)", + "tags": ["x", "twitter", "post", "create"] + }, + { + "func": add_post_to_x_thread, + "args_schema": XThreadPostArgs, + "description": "Add a single post to the current X reply thread atomically", + "tags": ["x", "twitter", "reply", "thread", "atomic"] + }, ] -- 2.51.2