create_subscription
Create a repository subscription to track a git or HTTP repository. Configure type, schedule, branch, and filters for automated updates.
Instructions
Create a repository subscription. Required: url (git/http repo URL). type defaults to public-repo, schedule_type defaults to cron.
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": {
"url": "<url>"
},
"name": "create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Repository URL, e.g. https://github.com/user/repo.git (required) | |
| name | No | Subscription name | |
| type | No | Subscription type, e.g. public-repo / private-repo | |
| alias | No | Alias | |
| branch | No | Git branch | |
| schedule | No | Cron expression when schedule_type=cron | |
| blacklist | No | Blacklist patterns | |
| whitelist | No | Whitelist patterns | |
| autoAddCron | No | Auto add scripts as cron tasks | |
| autoDelCron | No | Auto remove cron tasks when script removed | |
| schedule_type | No | Schedule type: cron (default) or interval |