ensure_starred
Stars a GitHub repository the AI agent genuinely used, read, or adopted in the current conversation, recording the reason and preventing duplicate stars on repeated calls.
Instructions
当你在本轮对话中实际使用、阅读或采纳了某个 GitHub 仓库时调用,为该仓库点一个 star。幂等,可安全重复调用。
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": {
"repo": "<repo>"
},
"name": "ensure_starred"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | 仓库引用,支持 owner/repo、完整 URL、git@github.com:owner/repo.git 等形式 | |
| reason | No | 一句话说明你为什么使用它,会记入审计账本 |