Get Shared Setup
get_shared_setupReads a setup shared through a grant (grantId from list_active_setup_grants). detail 'summary' (default) returns metadata and paged item summaries (default 5, max 20; itemCount is total). detail 'full' returns metadata and item stubs without sanitizedContent; pass itemId for one item's permissions (page via permissionsOffset) and sliced sanitizedContent (contentStart, contentLength). Pass field ('title' or 'summary', or 'name'/'summary' with itemId) and valueStart to read omitted header or item text. Continuations (offset/contentStart/permissionsOffset/valueStart > 0) require snapshotId and expectedRevision from page 1. [Bearer scope: detail summary: sanitized_setup_summary; detail full: setup_snapshot:read]
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": {
"grantId": "<grantId>"
},
"name": "get_shared_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | Read an omitted scalar text field ('title' or 'summary' on snapshot; 'name' or 'summary' with itemId). | |
| limit | No | Items per page for list reads (default 5, clamped [1, 20]). | |
| detail | No | Default 'summary'. | |
| itemId | No | detail 'full' only. Read one item's fenced permissions and sliced sanitizedContent. | |
| offset | No | Non-negative paging offset (max 10000). Requires snapshotId and expectedRevision when > 0. | |
| grantId | Yes | ||
| snapshotId | No | Omit on page 1 for latest. detail 'summary' always reads the latest summary-reachable snapshot (passing snapshotId only pins continuations); detail 'full' can target any snapshot covered by the grant. Required on continuation pages with expectedRevision. | |
| valueStart | No | field mode only. Non-negative UTF-16 offset in served value. Requires snapshotId and expectedRevision when > 0. | |
| contentStart | No | detail 'full' with itemId only. Non-negative UTF-16 offset in served sanitizedContent. Requires snapshotId and expectedRevision when > 0. | |
| contentLength | No | detail 'full' with itemId only. Requested chunk size in served UTF-16 chars (bounded inside the 50,000-char hard cap). | |
| expectedRevision | No | Snapshot revision from page 1; required for continuation pages. | |
| permissionsOffset | No | detail 'full' with itemId only. Non-negative offset into permissions (max 10000). Requires snapshotId and expectedRevision when > 0. |