Share library item
share_gallery_itemShare one of the user's library items to the public community feed (share true, the default) or take it back (share false). Shared items are visible to anyone without signing in, prompt included, under displayName (default "Anonymous"); the userId is not shown. Returns { sharedAt } when shared; 404 for an item that is not the caller's. id comes from list_gallery or search. Use delete_gallery_item to remove an item entirely.
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": {
"id": "<id>",
"context": "<context>"
},
"name": "share_gallery_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item id from list_gallery or search. | |
| share | No | true shares, false unshares. | |
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| displayName | No | Name shown on the shared item. Defaults to "Anonymous". | |
| 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. |