Grant resource access
resource_share_grantPreview granting a user, organization, or public share.
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": {
"resourceType": "<resourceType>",
"resourceId": "<resourceId>",
"target": "<target>",
"role": "<role>"
},
"name": "resource_share_grant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| target | Yes | ||
| expiresAt | No | ||
| resourceId | Yes | ||
| resourceType | Yes | ||
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |