discover_source
Introspect an upstream connector to preview its proposed source configuration before creating anything, then pass the result directly to source creation. Supports connectors like Prometheus and GitHub.
Instructions
Introspect an upstream and get a proposed source config — no commitment. Works for
connectors that can introspect: e.g. prometheus given {"url": "http://..."}, or github given
{"repo": "owner/name"}. The returned proposed_config can be passed straight to create_source.
(Use list_connectors to see which connectors support discovery.)
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": {
"connector": "<connector>",
"config": "<config>"
},
"name": "discover_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| connector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |