peek_grant_access
Grant access to a restricted Peek page for a person or Google group, emailing the link when needed and returning the grant status.
Instructions
Let a person or a Google group open a restricted Peek page. Peek emails them the link when the page is restricted and they did not have access yet. Returns {slug, kind, email, notified}. Use peek_set_visibility to restrict the page, and peek_list_grants to see who has access. Requires user approval.
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": {
"slug": "<slug>",
"email": "<email>",
"reason": "<reason>"
},
"name": "peek_grant_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | user (one person's email, the default) or group (a Google group's email; needs group lookup on the Peek server). | user |
| slug | Yes | The page's slug: the slug field from peek_list_pages, or the last part of its link (…/p/<slug>). | |
| Yes | The email address of the person, or of the Google group. | ||
| reason | Yes | One sentence: why are you calling this tool right now? |