Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Organizations

Discover organizations, manage their settings and audit log, and answer invitations to join.

Discover organizations, manage their settings and audit log, and answer invitations to join.

These are action names. In default compact mode, call the indicated group tool with {"action":"<action-name>","params":{...}}; the arguments below go inside params. In ?mode=all, call the action name directly with those arguments. list_github_connections and read_docs are direct tools in both modes. Expand each schema for nested fields, enum values and validation constraints. Successful results are JSON in both text content and structuredContent; failures use isError and structuredContent.error.

These actions use account and account_write in compact mode. audit:read is a separate permission: org:write does not imply it. Credentials limited to organizations or projects cannot create an organization or answer a received invitation.

The OpenAI profile calls individual actions, omits get_byod_token and redeem_voucher, and restricts credential inputs and environment outputs. The input schemas below describe the standard catalog; profile-specific schemas are included where they differ.

list_orgs

List the organizations the user can act in, with their role in each. Use it to find the slug that calls in an organization take as org when the user belongs to more than one.

Group: account · Behavior: Read

Compact tool: account · Action: list_orgs

MCP annotations: readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: false

Permissions and REST equivalents

Operation
REST
Required scopes

orgs.list

GET /orgs

Authenticated connection; organization and resource permissions still apply

Arguments

No arguments. Send an empty object.

Complete input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Result

  • orgs (array<object>): See the complete response schema below.

Response schema: orgs.list

get_org

Get an organization's settings, whether it is frozen, and the user's role in it. Use it before update_org, or to find out why spending or serverless deploys are refused in it.

Group: account · Behavior: Read

Compact tool: account · Action: get_org

MCP annotations: readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: false

Permissions and REST equivalents

Operation
REST
Required scopes

orgs.get

GET /org

Authenticated connection; organization and resource permissions still apply

Arguments

Argument
Type
Required
Description

org

string

No

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Complete input schema

Result

  • id (string): See the complete response schema below.

  • slug (string): What calls in an organization take as org

  • name (string): See the complete response schema below.

  • role ("admin" / "developer" / "viewer"): The caller's role there, which bounds what they can do in it

  • isOwner (boolean): The caller owns it (the member list names the owner)

  • settings (object): See the complete response schema below.

  • frozen (boolean): Frozen over a payment problem: it can't start apps, add servers or pay

  • createdAt (string): ISO 8601 timestamp (UTC)

Response schema: orgs.get

Operation-specific errors: 400 org_required.

create_org

Create a new organization; the user becomes its owner and admin. It has its own billing. Use it only when the user asks for a new organization. A person owns up to 5, and a connection limited to some organizations or projects can't create one.

Group: account · Behavior: Write

Compact tool: account_write · Action: create_org

MCP annotations: readOnlyHint: false · destructiveHint: false · idempotentHint: false · openWorldHint: false

Permissions and REST equivalents

Operation
REST
Required scopes

orgs.create

POST /orgs

org:write

Arguments

Argument
Type
Required
Description

name

string

Yes

The organization's name

slug

string

No

Its name in URLs and as org; lowercase letters, digits and dashes. Made from the name when omitted

idempotencyKey

string

No

Unique string without whitespace; send the same one with the same arguments when retrying after a timeout, and the original result comes back instead of acting twice

Complete input schema

Result

  • id (string): See the complete response schema below.

  • slug (string): What calls in an organization take as org

  • name (string): See the complete response schema below.

  • role ("admin" / "developer" / "viewer"): The caller's role there, which bounds what they can do in it

  • isOwner (boolean): The caller owns it (the member list names the owner)

  • settings (object): See the complete response schema below.

  • frozen (boolean): Frozen over a payment problem: it can't start apps, add servers or pay

  • createdAt (string): ISO 8601 timestamp (UTC)

Response schema: orgs.create

Operation-specific errors: 400 invalid_slug, 409 slug_taken, 409 org_limit_reached, 403 key_project_restricted.

update_org

Rename an organization or change its settings. The settings say whether developers may run apps on serverless capacity and whether they may invite people. Use it when an admin asks to change them. The slug never changes.

Group: account · Behavior: Write

Compact tool: account_write · Action: update_org

MCP annotations: readOnlyHint: false · destructiveHint: true · idempotentHint: true · openWorldHint: false

Permissions and REST equivalents

Operation
REST
Required scopes

orgs.update

PATCH /org

org:write

Arguments

Argument
Type
Required
Description

name

string

No

The organization's name

serverlessEnabled

boolean

No

Developers may run apps on Kinesis serverless capacity, billed to the organization; admins always can

membersCanInvite

boolean

No

Developers may invite people, as developers or viewers; admins always can

org

string

No

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Complete input schema

Result

  • id (string): See the complete response schema below.

  • slug (string): What calls in an organization take as org

  • name (string): See the complete response schema below.

  • role ("admin" / "developer" / "viewer"): The caller's role there, which bounds what they can do in it

  • isOwner (boolean): The caller owns it (the member list names the owner)

  • settings (object): See the complete response schema below.

  • frozen (boolean): Frozen over a payment problem: it can't start apps, add servers or pay

  • createdAt (string): ISO 8601 timestamp (UTC)

Response schema: orgs.update

Operation-specific errors: 400 org_required, 403 key_project_restricted.

list_audit_log

Read an organization's audit log, latest first. It records who did what to its projects, apps, grids, servers, members and settings, and is kept for a year. Use it when the user asks who changed, started or deleted something. For the organization's admins.

Group: account · Behavior: Read

Compact tool: account · Action: list_audit_log

MCP annotations: readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: false

Permissions and REST equivalents

Operation
REST
Required scopes

orgs.audit.list

GET /org/audit

audit:read

Arguments

Argument
Type
Required
Description

limit

integer

No

Items per page, 1 to 200 (default 50)

cursor

string

No

nextCursor from the previous page; omit for the first page

org

string

No

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Complete input schema

Result

  • entries (array<object>): See the complete response schema below.

  • nextCursor (string or null): Pass as cursor to fetch the next page; null on the last page

Response schema: orgs.audit.list

Operation-specific errors: 400 org_required, 403 key_project_restricted.

list_received_org_invitations

List the open invitations to join an organization sent to the user's email. Use it before accepting or declining one.

Group: account · Behavior: Read

Compact tool: account · Action: list_received_org_invitations

MCP annotations: readOnlyHint: true · destructiveHint: false · idempotentHint: true · openWorldHint: false

Permissions and REST equivalents

Operation
REST
Required scopes

orgs.invitations.received

GET /orgs/invitations

account:read

Arguments

No arguments. Send an empty object.

Complete input schema

Result

  • invitations (array<object>): See the complete response schema below.

Response schema: orgs.invitations.received

accept_org_invitation

Accept an invitation to join an organization, with the invited role. The user is also added to what the invitation names. Use it only when the user asks to join. A connection limited to some organizations or projects can't answer invitations.

Group: account · Behavior: Write

Compact tool: account_write · Action: accept_org_invitation

MCP annotations: readOnlyHint: false · destructiveHint: true · idempotentHint: false · openWorldHint: false

Permissions and REST equivalents

Operation
REST
Required scopes

orgs.invitations.accept

POST /orgs/invitations/{invitationId}/accept

account:write

Arguments

Argument
Type
Required
Description

invitationId

string

Yes

Invitation id, from the invitations the caller received

Complete input schema

Result

  • org (object): See the complete response schema below.

  • joined (boolean): False when the caller was a member already and keeps their role

Response schema: orgs.invitations.accept

Operation-specific errors: 409 invitation_closed, 403 key_project_restricted.

decline_org_invitation

Decline an invitation to join an organization; its link stops working. Use it when the user asks to turn the invitation down.

Group: account · Behavior: Write

Compact tool: account_write · Action: decline_org_invitation

MCP annotations: readOnlyHint: false · destructiveHint: true · idempotentHint: false · openWorldHint: false

Permissions and REST equivalents

Operation
REST
Required scopes

orgs.invitations.decline

POST /orgs/invitations/{invitationId}/decline

account:write

Arguments

Argument
Type
Required
Description

invitationId

string

Yes

Invitation id, from the invitations the caller received

Complete input schema

Result

  • declined (true): See the complete response schema below.

Response schema: orgs.invitations.decline

Operation-specific errors: 409 invitation_closed, 403 key_project_restricted.

Was this helpful?