Create workspace invite link
Create a reusable, expiring invitation link for a workspace. Requires owner or admin access.
Behavior
- Read-only hint
- Not declared
- Destructive hint
- Not declared
- Idempotent hint
- Not declared
- Open-world hint
- Not declared
Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
workspaceId | string | Required | No additional description. |
role | string | Optional | No additional description. |
expiresInDays | union | Optional | No additional description. |
Input JSON Schema
Generated from the registered input schema
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"minLength": 1
},
"role": {
"default": "member",
"type": "string",
"enum": [
"admin",
"member"
]
},
"expiresInDays": {
"default": 7,
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 7
},
{
"type": "number",
"const": 30
}
]
}
},
"required": [
"workspaceId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Call shape
Use an MCP client rather than sending this JSON directly. The client handles protocol negotiation, sessions, and authentication.
Protocol request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "workspace_invite_link_create",
"arguments": {}
}
}