set_published
Publish or unpublish a List or View at its stable public link. Requires full access. Unpublishing removes public access, so confirm that intent; repeating the same value is idempotent. Pass exactly one of list_id, list_name, view_id, or view_name.
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": {
"published": "<published>"
},
"name": "set_published"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | No | The list id. Pass this OR list_name. | |
| view_id | No | The View id. Pass this OR view_name. | |
| list_name | No | The list name, matched case-insensitively. Pass this OR list_id. | |
| published | Yes | True to publish; false to unpublish. | |
| view_name | No | The View name, matched case-insensitively. Pass this OR view_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether noticed completed the operation. | |
| data | No | The operation result when ok is true. | |
| error | No | A human-readable error when ok is false. |