create_connector
Scaffold a new Glean connector project using a standard template and set the active project directory for your session.
Instructions
Scaffold a new Glean connector project using the standard template. Call this after get_started. Sets the active project directory for this session.
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>"
},
"name": "create_connector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new connector (e.g. "salesforce-opportunities") | |
| description | No | Short description of what this connector indexes | |
| datasource_type | No | Connector base class type (only applies to datasource category) | basic |
| parent_directory | No | Directory to create the connector in. Defaults to cwd. | |
| connector_category | No | Type of connector: datasource (default) or people | datasource |