get_context

Read-only

Returns the workspace this connection works in (name and timezone), what the connection may do (mode and limits), the plan and the quota left this period, and the server time. Call it first, before planning posts.

Permission

Scope accounts:read: See your connected accounts and workspace settings. Allowed in every mode.

Input

No input.

Output

Output
NameTypeDescription
workspace Requiredobject—
connection Requiredobject—
plan Requiredobject | null—
subscription_active Requiredboolean—
quota Requiredobject[]—
server_time Requiredstring—

Example

Request

{}

Response

{
  "workspace": {
    "id": "ws_…",
    "name": "Lumen",
    "timezone": "Europe/Berlin"
  },
  "connection": {
    "id": "con_…",
    "mode": "approval_required",
    "allowed_accounts": "all",
    "allowed_platforms": "all",
    "denied_tools": [],
    "allow_delete_published": false,
    "max_posts_per_day": 20
  },
  "plan": {
    "key": "pro",
    "name": "Pro"
  },
  "subscription_active": true,
  "quota": [
    {
      "key": "posts.monthly",
      "limit": 1500,
      "used": 212,
      "remaining": 1288
    }
  ],
  "server_time": "2026-11-16T08:12:00Z"
}

Errors

Rate limit

60 calls a minute per connection, and 300 a minute across all tools.

Related tools