Publish dynamic endpoint
publish_dynamic_endpointPublish a dynamic endpoint version, taking it live at its public URL (edge-cached). The response includes the public URL to share.
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": {
"endpoint_id": "<endpoint_id>",
"version": "<version>"
},
"name": "publish_dynamic_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | the version number to make live | |
| endpoint_id | Yes | the endpoint id to publish |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| version | No | ||
| definition | No | ||
| public_url | No | ||
| description | Yes | ||
| endpoint_id | Yes | ||
| content_type | Yes | ||
| display_name | Yes | ||
| latest_version | Yes | ||
| last_published_version | Yes |