Upgrade a project to Team
upgrade_project_to_teamUpgrade the explicit Free or Starter project to Team on an active workspace subscription. Requires full workspace billing permission and project access. First omit approvalId to preview the billing impact at the workspace billing interval. Show the quote and approvalUrl to the user, then wait for the user to approve that quote in Atomic Billing while signed in to the same Atomic account. After they confirm, call again with quote.approvalId and the same workspaceId and projectId. Applying may invoice and attempt payment immediately. If the quote expires or billing changed, request a new quote and a new approval. An already-Team project returns already_team without another charge.
Omit approvalId to preview. Show the user the quote and approvalUrl and wait for them to approve in Atomic Billing. Apply using the same workspaceId and projectId and quote.approvalId, then verify the project plan with get_project_setup_status.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": 12,
"workspaceId": 4
},
"name": "upgrade_project_to_team"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | User task for usage analytics. Omit private details. | |
| llm_model | No | Exact model ID from the calling runtime. Send on every call when known. Omit if unavailable. | |
| projectId | Yes | Explicit target project ID from list_projects. | |
| approvalId | No | Quote ID to apply after the user approves it in Atomic Billing. Omit to request a quote. | |
| workspaceId | Yes | Workspace ID from list_workspaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Approval link and billing quote, or the Team plan assignment after application or when already on Team. | |
| success | Yes | True when the tool returns normally. | |
| executionTime | No | Elapsed time, e.g. 0.12s. |