add_config_source
Register a Git repository as a named config source for fetching configurations. Add private/team repos to supply configs to fetch_config, supporting GitHub, GitLab, Bitbucket, and custom git servers.
Instructions
Register a git repository as a config source. Allows fetching configs from private/team repos. Use this to set up named sources that can be referenced by fetch_config. Supports GitHub, GitLab, Gitea, Bitbucket, and custom git servers.
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": {
"name": "<name>",
"git_url": "<git_url>"
},
"name": "add_config_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| branch | No | main | |
| enabled | No | ||
| git_url | Yes | ||
| priority | No | ||
| token_env | No | ||
| source_type | No | github |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |