Get the signed-in account
get_accountWho the signed-in customer is: name, company, pricing tier and its discount in percent (discount_percent 5 means 5% off, already in every price the pricing tools return), whether they are buying personally or as a Team (and their role), the Teams they can switch to, whether the Team orders on account, and what the account is still missing (a delivery address, a phone number). Needs a signed-in Printdash account: called without one, the connection asks the customer to sign in on printdash.io.
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 |
|---|---|---|---|
| name | Yes | ||
| next | Yes | ||
| tier | Yes | ||
| Yes | |||
| terms | No | ||
| company | Yes | ||
| missing | Yes | ||
| contexts | Yes | ||
| buying_as | Yes | ||
| on_account | Yes | ||
| po_required | No | ||
| active_context | Yes | ||
| saved_addresses | Yes | ||
| discount_percent | Yes | Percent off the retail price: 5 means 5% off. Prices from the pricing tools already include it. | |
| orders_need_owner_approval | Yes |