Update an endpoint description
specway_update_endpoint_descriptionReplaces the description of one endpoint in the docs with new plain text (up to 2000 characters). The change is live at once and overwrites the old description. The spec stays the source of truth: when the API is next synced from its spec URL, this endpoint's description is replaced by the spec's text again, so a lasting change belongs in the spec itself.
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>",
"description": "<description>"
},
"name": "specway_update_endpoint_description"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_id | Yes | An api_id from specway_list_apis. Opaque. | |
| description | Yes | The new description, as plain text. | |
| endpoint_id | Yes | An endpoint_id from specway_get_api. Opaque. |