code_workspace_create_share_link
Create a share link token to grant access to a workspace. Specify workspace ID, role, and expiration time for the link.
Instructions
Create a share-link token granting access to the workspace.
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": {
"workspace_id": "<workspace_id>"
},
"name": "code_workspace_create_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | viewer | |
| workspace_id | Yes | ||
| expires_in_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |