create_source
Create a data source for Tares to begin ingesting data immediately without restarting; specify connector, config, and optional project.
Instructions
Create a data source so Tares starts ingesting it immediately (no restart). config is
the connector's config (see list_connectors / discover_source); push connectors ignore poll.
project is the project id the source joins (default: the default project); other projects
can use it too. Returns {ok, name} or an error detail. After creating, use list_sources to
watch it ingest and catalog_describe("source:") to see its labels.
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>",
"connector": "<connector>",
"config": "<config>"
},
"name": "create_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| poll | No | 5s | |
| config | Yes | ||
| project | No | ||
| connector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |