get_account_info
Get basic info about the BlockSurvey account connected to this session: the user's name and email, every team/workspace they belong to (with their role in each — owner/admin/member/contributor/guest), and the organization and plan each team sits under. The session isn't tied to one team: other tools take an optional teamId (or find the survey's team themselves), and what you can do in a team depends on your role there (guests can only view; contributors can't publish) and its plan. Call this when the user asks who they're logged in as, what teams they're part of, or which team to use.
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_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Empty string if not set | |
| Yes | Empty string if not set | ||
| teams | Yes | ||
| currentWorkspace | Yes | The current session's workspace name |