vote
Submit a choice for an X poll by providing the tweet ID, card URI, and card name.
Instructions
Vote on an X poll.
X polls have 2-4 choices and a duration in minutes. The card_uri and card_name come from the tweet's poll card metadata (obtainable via get_tweet).
Args: selected_choice: The label of the choice to vote for (must be non-empty). card_uri: The poll card URI (from the tweet's poll card metadata). tweet_id: The ID of the tweet containing the poll. card_name: The name of the poll card (from the tweet's poll card metadata).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selected_choice | Yes | ||
| card_uri | Yes | ||
| tweet_id | Yes | ||
| card_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |