Tool reference · Groups, access and invites

waiting_invites

List invites waiting for approval or unused

Users with access to a groupread-only

POST /v1/actions/waiting_invites · MCP tool waiting_invites

Lists, as items, the invites and people asking to join that wait for approval in groups where the user has Give access, each with its ID, who it’s to, the group and who invited them, and, as sent, the invites nobody has used yet that the user can withdraw: their own, and anyone’s in a group where they have Give access. review_invites approves, declines and withdraws them. Someone who asked to join from an invite link or its QR code shows with their name, and adds_to_group says approving also adds them to the group as a contact. Nobody joins the user’s Private Contacts by themselves: a scan of its code only asks, and those are marked private_contacts.

View as Markdown

Parameters

None. Send an empty JSON object, {}.

Who can use it

Users get it once they have access to a group, and each call is checked against that access. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.

Annotated read-only, so clients like ChatGPT can call it without asking.

Errors

Errors carry a stable code and a message written for people. See errors and their status codes.

curl https://api.withopenbook.com/v1/actions/waiting_invites \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "waiting_invites",
    "arguments": {}
  }
}