Actions
Agents can take action on-chain or search for relevant information through a set of actions.
Action Name | Summary | Details |
executeSwapSolForTokenTransaction | Swap SOL for the output token. | Use ExactIn mode if you want to swap the specified amount of SOL for the output token. Use ExactOut mode if you want the specified amount of the output token. |
executeSwapTokenForSolTransaction | Swap the input token for SOL. | Use ExactIn mode if you want to swap the specified amount of input token for SOL. Use ExactOut mode if you want the specified amount of SOL. |
fetchCollectionNftsByOwner | Fetch NFTs in a collection for the given owner address. | This schema is used to validate the parameters for fetching all NFTs in a specified collection that belong to a specific owner. |
fetchLamports | Fetch lamports for a given address. | No details provided. |
fetchNftsByOwner | Fetch NFTs for a given owner. | This schema is used to validate the parameters for fetching all NFTs owned by a specific wallet address. |
fetchRecentMentions | Fetch tweets mentioning a user specified by their username. | Retrieves a list of tweets that include a mention of the specified username. |
fetchRecentTweets | Fetch tweets composed by a user specified by their username. | Retrieves a list of tweets authored by the specified username, ordered chronologically. |
fetchTokenMarketCap | Fetch token market cap. | Retrieve the market cap of a token, calculated as the price of a single token multiplied by its total supply. |
fetchTokenPrice | Fetch token price. | Retrieve the price of a specified token in terms of the specified quote token. |
fetchTokensByOwner | Fetch tokens by owner. | Retrieve all tokens and their amounts for a specified owner address. |
fetchTopHoldersForToken | Fetch top holders for a token. | Retrieve the top 20 holders of a specific token, along with the amounts they own. |
fetchTweet | Fetch a tweet by ID. | Retrieves a specific tweet based on its unique identifier. |
fetchWebsiteContent | Fetch the content of a website. | This schema validates the parameters required to fetch and process the HTML content of a website. The content is extracted from the website's HTML, focusing on meaningful elements like paragraphs (<p> tags). |
generateImage | Generates an image, uploads it to Arweave for permanent storage, and returns a URL pointing to the image. | The function generates the image based on the provided prompt. The prompt used should be descriptive enough to generate a unique image. |
postTweet | Post a tweet. | Creates a new tweet with the specified text and optional image. |
quoteTweet | Quote tweet the specified tweet with the given text. | Creates a new tweet quoting the tweet identified by the given ID and includes the specified text. |
remember | Store detailed text-based memories in the vector store. | This schema allows saving a descriptive memory as a text file in the vector store. Each memory is uniquely identified by a snake-cased file name with a .txt extension. |
replyToTweet | Reply to the specified tweet with the given text. | Creates a reply to the tweet identified by the given ID. |