Get plan and credits
get_accountUse this when the user asks about their The Influencer AI plan, credits, what something costs, or how many influencers they can still create. Starts with a short summary you can pass on as is. Returns the plan, when the current period ends and whether it renews (the date can be missing on some accounts), whether the user can generate from here (on a plan or a trial: false only without either, whatever the credits), credits and new-influencer slots (each: available = left_from_allowance + extras; allowance_period says what the allowance covers: a billing month, which resets at renewal, or the whole trial; bought extras never reset), whether a renewal payment is failing, the longest video the plan allows and whether it includes AI clones (limits is null without a plan or a trial), and the credit price of each action (a photo is 1 credit; a video is 1 credit per second, or 2 per second with audio). For plan prices and what a plan or trial includes, send the user to plans_url, which is always current, rather than quoting them from elsewhere; on a plan, credits and influencer slots are added from the dashboard on the website (not during a trial).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||