record_template_usage
Record that a SQL template was used by incrementing its usage count and refreshing the last-used time, enabling evaluation of template value and optimizing retrieval ranking.
Instructions
记录某模板被实际使用一次(使用次数 +1,刷新最近使用时间)。
在技能复用模板生成最终 SQL 后调用,用于评估模板价值、优化检索排序。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |