Update deck details
patch_deckRename a deck, change who can open it, or move it to another project.
It can also switch which content version the deck shows. Changing visibility can make the
deck public or remove other people's access; setting it to anything but PUBLIC also turns
the deck's share link off. It doesn't start generation or create an export.
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": {
"deck_id": "<deck_id>"
},
"name": "patch_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name; omitted keeps it. | |
| deck_id | Yes | ID of the deck. | |
| version | No | Content version to render; must be one the deck has content for. | |
| project_id | No | Move the deck to this project; leave it out to keep the deck where it is. A deck can't be taken out of its project here. | |
| visibility | No | New visibility; omitted keeps it. Changing it needs share-manage permission. PROJECT: the project's members. PRIVATE: the creator and explicit grants. WORKSPACE: any workspace member. PUBLIC: published. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| flags | Yes | The user's own flags on the deck. | |
| version | Yes | Editor format the deck uses: `v2` (current) or `v1` (an older deck); null when authored in the app. | |
| deck_url | No | Opens the deck in Presentations.AI; requires signing in as a member with access. Not a public link: use `share_deck` for one. | |
| project_id | Yes | ||
| visibility | Yes | Who can open the deck. | |
| has_share_link | Yes | Whether a public share link is active for the deck. | |
| origin_version | Yes | Version the deck was migrated from; when it differs from `version`, `patch_deck` can switch back to it. |