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 后调用,用于评估模板价值、优化检索排序。
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>"
},
"name": "record_template_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |