Set test visibility
gvt_set_test_visibilityToggle the public visibility of a test session. Set is_public to true to make the test shareable and receive its public share URL, or false to make it private. The response confirms the new state and, when making a test public, includes the share_url the recipient can visit without any authentication. is_public is the only lever: true both publishes and yields the link in this same response; false revokes access to any previously issued share_url immediately. This is the only way to control who can view a test result without requiring MCP authentication.
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": {
"tid": "<tid>",
"is_public": "<is_public>"
},
"name": "gvt_set_test_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tid | Yes | The 8-character test ID returned by gvt_run_visibility_test. | |
| is_public | Yes | true to make the test publicly shareable, false to make it private. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tid | No | The test that was modified | |
| success | No | True when the visibility change was applied | |
| is_public | No | The new public visibility state | |
| share_url | No | Public share URL, present when is_public is true; the recipient needs no authentication. Null when sharing failed or the test is private |