arcade-mcp/toolkits/x/arcade_x/tools
Eric Gustin 00d5babcd7
Add next_token to X Search tools (#169)
# PR Description
Adds an optional `next_token` input parameter to the
`X.SearchRecentTweetsByUsername` and `X.SearchRecentTweetsByKeywords`
tools.

This allows users to paginate through tweets. A `next_token` is provided
in the tools's response.

For example, to access the `next_token` when using the `tools.execute`,
you can do `next_token = response.output.value["meta"].get("next_token",
None)` and then pass it to the tool on your next call through the tools'
`next_token` input parameter.
2024-12-10 12:35:20 -08:00
..
__init__.py Add initial X toolkit, remove Github toolkit, rename math toolkit (#52) 2024-09-23 13:42:22 -07:00
tweets.py Add next_token to X Search tools (#169) 2024-12-10 12:35:20 -08:00
users.py Add lookup_tweet_by_id to X Toolkit (#165) 2024-11-27 17:07:12 -08:00
utils.py Add next_token to X Search tools (#169) 2024-12-10 12:35:20 -08:00