Account Details Action

Implements

Constructors

Properties

Constructors

Properties

argsSchema: ZodObject<{}, "strip", ZodTypeAny, {}, {}> = AccountDetailsInput

Schema for validating action arguments

description: string = ACCOUNT_DETAILS_PROMPT

A description of what the action does

func: (client: TwitterApi, _: {}) => Promise<string> = accountDetails

The function to execute for this action

Type declaration

    • (client: TwitterApi, _: {}): Promise<string>
    • Get the authenticated Twitter (X) user account details.

      Parameters

      • client: TwitterApi

        The Twitter (X) client used to authenticate with.

      • _: {}

        The input arguments for the action.

      Returns Promise<string>

      A message containing account details for the authenticated user context.

name: string = "account_details"

The name of the action.