Get Account
get_accountShow the signed-in Yarda account: plan and status, design credits, free designs left (the shared no-card Pro-design trial serves homeowners and professionals), and what to do next. Before the first design or quote action, show the connected email and verify it matches the user’s intended account; stop a mismatch and use supported account reconnect. Never treat an email in chat as an authenticated identity. Use the returned allowance rather than promising a new trial per agent or client. If access is exhausted, ask whether the user wants payment options; do not automatically call subscribe. Uses the connected Yarda account.
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 | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| is_pro | Yes | ||
| status | Yes | ||
| credits | Yes | ||
| plan_id | Yes | ||
| user_id | Yes | ||
| next_step | Yes | ||
| plan_name | Yes | ||
| can_design | Yes | ||
| free_trial | No | ||
| account_url | No | ||
| entitlements | No | ||
| checkout_tool | No | ||
| current_period_end | No | ||
| pro_trial_eligible | Yes | ||
| cancel_at_period_end | No |