Change resource visibility
resource_change_visibilityPreview publishing or unpublishing a resource.
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": {
"resourceType": "<resourceType>",
"resourceId": "<resourceId>",
"visibility": "<visibility>"
},
"name": "resource_change_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resourceId | Yes | ||
| visibility | Yes | ||
| resourceType | Yes | ||
| 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. |