Publish API template
publish_api_templatePublish an api template version, making it the version workflows resolve when they reference it @published.
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": {
"template_id": "<template_id>",
"version": "<version>"
},
"name": "publish_api_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | the version number to make live | |
| template_id | Yes | the template id to publish |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| version | No | ||
| definition | No | ||
| description | Yes | ||
| template_id | Yes | ||
| display_name | Yes | ||
| latest_version | Yes | ||
| last_published_version | Yes |