Invite Someone to a Namespace
inviteInvite one person, by email, to read and write one namespace prefix of THIS account (for example project:barn). Creates a pending grant and emails them; nothing is shared until they accept with list_invites and accept_invite from their own account. Calling again for the same person and prefix returns the existing invitation without a second email. Withdraw with revoke_grant(grant_id). Not available from a shared workspace session. Their first 30 days of Collaborator time are free; after that you can pay their $19 per 30 days from /account. You are emailed when they accept, and list_workspaces shows whether they have entered yet. Docs: https://ctxstore.ai/docs.html#verify-invitations
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email": "<email>",
"namespace_prefix": "<namespace_prefix>"
},
"name": "invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional short note shown verbatim in the email (max 1000 chars). | |
| Yes | The invitee's email address. | ||
| write_prefixes | No | Optional: narrow WRITES to these prefixes (each further scoped to '<prefix>:<agent_id>' after bind_agent). Omit to write where they read. | |
| exclude_prefixes | No | Optional deny list under the shared prefix: facts whose key or namespace sits under one of these are invisible to the invitee. | |
| namespace_prefix | Yes | Key prefix to share, e.g. 'project:barn'. No wildcards. |