Members tools
All tool areas. Each tool acts within your access.
Members
get_grant_options
List what you may give someone access to, for the invite form: the roles and the places (the whole organization, or a location) mayGrant allows you, exactly as invite_member would accept them. A location Manager is offered their own locations and the roles up to their own, never Owner, Admin, or Everywhere. Changes nothing.
Reads · Members of an organization · Needs members:read
No input.
Output
rolesroles[]roles[].roleroles[].labelAs people read it: Front desk
scopesscopes[]scopes[] — object option 1scopes[] — object option 1.kindscopes[] — object option 2scopes[] — object option 2.kindscopes[] — object option 2.locationIdscopes[] — object option 2.name
invite_member
Invite someone by email to a role at a scope. Someone with no organization on Lokl joins by signing in with that address within 14 days only when all their open, unexpired invitations come from one organization, then sets up an authenticator; otherwise they choose which to accept or decline, as someone already working with another organization does. Limited to 50 open at once, and 100 emails a day for the organization and 30 for you, resends included. The preview says who, what they'll be able to do, and where; applying emails them. You can give only what you hold there yourself, and only an owner gives Owner. Someone already a member is refused: change their grants. Returns a preview to confirm; undo revokes it if it hasn't been accepted.
Changes · Members of an organization · Needs members:write
Input
emailWhere to send it; only that address can accept it
roleowner, admin, finance, manager, front_desk, host, viewer, developer, or venue_partner
scopeWhere it applies: the whole organization, or one of these
scopeIdThe entity, location, or product (ent_…, loc_…, prd_…). Left out for the organization
locationIdWith a product: only at this location
financialsWhether it shows what orders cost and revenue
Output
rolescopescopeIdlocationIdFor a product grant at one location
scopeNamefinancialsidemailinvitedAtinvitedByNameexpiresAtexpiredPast its date: signing in no longer accepts it. resend_invitation renews it
status
list_members
List the people who work here and the invitations still open: name, email, what each holds and where, whether they've set up an authenticator, and when they joined or were invited. Someone narrower sees only people holding a grant inside what they're covered for, and only those grants.
Reads · Members of an organization · Needs members:read
No input.
Output
membersmembers[]members[].idmembers[].userIdmembers[].namemembers[].emailmembers[].hasAuthenticatormembers[].joinedAtmembers[].grantsmembers[].grants[]members[].grants[].rolemembers[].grants[].scopemembers[].grants[].scopeIdmembers[].grants[].locationIdFor a product grant at one location
members[].grants[].scopeNamemembers[].grants[].financialsinvitationsinvitations[]invitations[].roleinvitations[].scopeinvitations[].scopeIdinvitations[].locationIdFor a product grant at one location
invitations[].scopeNameinvitations[].financialsinvitations[].idinvitations[].emailinvitations[].invitedAtinvitations[].invitedByNameinvitations[].expiresAtinvitations[].expiredPast its date: signing in no longer accepts it. resend_invitation renews it
invitations[].status
offboard_member
Remove someone from this organization at once: their grants here, all their sessions, their API keys here, MCP clients connected here, invitations to them, and invitations they sent that are still open. Their sessions go everywhere, since a session is per person, so they'd sign in again for any other organization they belong to; their access there stays. Nobody offboards themselves, and the last owner can't be offboarded. It can't be undone: to bring someone back, invite them again. Returns a preview to confirm.
Changes · Members of an organization · Needs members:write
Input
memberIdThe member's id, from list_members
Output
idemailnamegrantsgrants[]grants[].rolegrants[].scopegrants[].scopeIdgrants[].locationIdFor a product grant at one location
grants[].scopeNamegrants[].financialsremovedAtsessionsRevokedapiKeysRevokedoauthClientsRevokedinvitationsRevoked
preview_member_access
Show what a role at a scope can and can't do, in plain words by area, with its limits and the locations it reaches, before anyone is invited. Changes nothing. invite_member's preview includes the same answer.
Reads · Members of an organization · Needs members:read
Input
roleowner, admin, finance, manager, front_desk, host, viewer, developer, or venue_partner
scopeWhere it applies: the whole organization, or one of these
scopeIdThe entity, location, or product (ent_…, loc_…, prd_…). Left out for the organization
locationIdWith a product: only at this location
financials
Output
roleroleLabelscopescopeIdlocationIdscopeNamefinancialsareasWhat this grant can and can't do, by area
areas[]areas[].areaareas[].canareas[].can[]areas[].cannotareas[].cannot[]limitsLimits on what it can do: refund caps, hidden amounts or contacts
limits[]locationsThe locations it reaches
locations[]locations[].idlocations[].name
resend_invitation
Email an invitation again, with a new 14 days from now, also for one that has expired. It takes what inviting takes, since it gives the same access again, counts towards the same limits, and you become who it's from. Returns a preview to confirm.
Changes · Members of an organization · Needs members:write
Input
invitationIdThe invitation's id, from list_members
Output
rolescopescopeIdlocationIdFor a product grant at one location
scopeNamefinancialsidemailinvitedAtinvitedByNameexpiresAtexpiredPast its date: signing in no longer accepts it. resend_invitation renews it
status
revoke_invitation
Revoke an invitation that hasn't been accepted: signing in no longer gives them anything. It takes what inviting takes, so you can't revoke one above what you could give yourself. Returns a preview to confirm.
Changes · Members of an organization · Needs members:write
Input
invitationIdThe invitation's id, from list_members
Output
rolescopescopeIdlocationIdFor a product grant at one location
scopeNamefinancialsidemailinvitedAtinvitedByNameexpiresAtexpiredPast its date: signing in no longer accepts it. resend_invitation renews it
status
update_member_grants
Change what a member holds, by giving the full list they should hold from now on; the preview shows what's added and taken away. Takes effect on their sessions, keys, and MCP connections at once. You must be able to manage everything they hold now and everything in the list, nobody changes their own, and the last owner can't be demoted. Returns a preview to confirm; undo restores what they held unless it's changed since.
Changes · Members of an organization · Needs members:write
Input
memberIdThe member's id, from list_members
grantsEverything they should hold from now on. To take everything away, use offboard_member
grants[]grants[].roleowner, admin, finance, manager, front_desk, host, viewer, developer, or venue_partner
grants[].scopeWhere it applies: the whole organization, or one of these
grants[].scopeIdThe entity, location, or product (ent_…, loc_…, prd_…). Left out for the organization
grants[].locationIdWith a product: only at this location
grants[].financialsWhether it shows what orders cost and revenue
Output
idemailnamegrantsgrants[]grants[].rolegrants[].scopegrants[].scopeIdgrants[].locationIdFor a product grant at one location
grants[].scopeNamegrants[].financials