Show or hide an endpoint
specway_set_endpoint_visibleShows or hides one endpoint of an API in the docs. A hidden endpoint stays in the API and in Specway's editor and comes back when shown again; readers of the docs stop seeing it. The change is live at once. Setting the state it is already in changes nothing.
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": {
"api_id": "<api_id>",
"endpoint_id": "<endpoint_id>",
"visible": "<visible>"
},
"name": "specway_set_endpoint_visible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_id | Yes | An api_id from specway_list_apis. Opaque. | |
| visible | Yes | true shows the endpoint in the docs, false hides it. | |
| endpoint_id | Yes | An endpoint_id from specway_get_api. Opaque. |