Integrations

Use X

Work with the user's connected X (Twitter) account.

Parameters#

tool_namestringrequired

Action name from list_app_tools("x") (e.g., "x-post-tweet", "x-send-dm", "x-get-dms")

configured_propsobjectrequired

Action parameters (e.g., {"text": "Hello world!"} for posting)

usernamestringdefault: ""

Optional X username to specify which connected account to use (for multi-account).