Switch between personal and a Team
set_contextSwitches the account between buying personally and buying as one of its Teams, as the account menu's Viewing as does on printdash.io. Prices, quotes, orders and addresses follow the context. Pass team_id null for personal. Needs a signed-in Printdash account: called without one, the connection asks the customer to sign in on printdash.io.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"team_id": "<team_id>"
},
"name": "set_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | A team_id from get_account's contexts, or null for personal. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| tier | Yes | ||
| terms | No | ||
| switched | Yes | ||
| buying_as | Yes | ||
| on_account | Yes | ||
| po_required | No | ||
| active_context | Yes | ||
| orders_need_owner_approval | Yes |