mcpDeterministic
Get workspace subscription
tools/call
Get the workspace owner's subscription state in one call: planType (starter/pro/etc), status, isAdmin, trialEnd, trialDaysRemaining, isTrialActive, totalSeats, usedSeats, and currentPeriodEnd. Resolves to the workspace owner so all members see the same plan. Pipeline is BYOK - no usage credits are charged.
Parameters
workspaceId
string
Optional. Omitting it falls back to the authenticated user's personal subscription.
Example
MCP tools/calljson
{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get-workspace-subscription","arguments": {}}}
Response
The operation is available, but its typed response schema has not been published yet.
JSON-RPC errors
- -32602
- Invalid parameters. Field-level details are returned in the JSON-RPC error data.
- -32001
- Authentication or hosted AI consent is required.
- -32003
- Workspace access is denied.
- -32029
- The request was rate limited.