List Invitations
list_invitationsList the invitations that include the workspace (the current one unless workspaceId names another), newest first, whatever their status. Returns { invitations, total, hasMore }. Page with offset while hasMore is true. Needs the members.manage permission, which Admin holds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_invitations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Invitations per page | |
| offset | No | Invitations to skip; increase by limit while hasMore is true | |
| workspaceId | No | Workspace to act in: an id from list_workspaces. Omit to act in the workspace list_workspaces marks current. Use the same workspaceId for every call about the same workspace, since ids from one workspace (accounts, posts, uploads) do not exist in another |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | An object with invitations, total (count of all invitations) and hasMore. Each item is one invitation. The invitation: id, email, organizationId, organizationRole, status (pending, accepted, expired or revoked), workspaces [{ workspaceId, workspaceName, role }], expiresAt and createdAt. |