index_repository
Index code repositories from GitHub or GitLab to enable search and query capabilities for specific branches.
Instructions
Index a repository to make it searchable for future queries
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | Yes | Branch to index | |
notify | No | Send email notification when indexing completes | |
reload | No | Force reprocessing of previously indexed repository | |
remote | Yes | Repository host (github or gitlab) | |
repository | Yes | Repository in owner/repo format |
Input Schema (JSON Schema)
{
"properties": {
"branch": {
"description": "Branch to index",
"type": "string"
},
"notify": {
"default": false,
"description": "Send email notification when indexing completes",
"type": "boolean"
},
"reload": {
"default": true,
"description": "Force reprocessing of previously indexed repository",
"type": "boolean"
},
"remote": {
"description": "Repository host (github or gitlab)",
"enum": [
"github",
"gitlab"
],
"type": "string"
},
"repository": {
"description": "Repository in owner/repo format",
"type": "string"
}
},
"required": [
"remote",
"repository",
"branch"
],
"type": "object"
}