create_capture
Publishes a capture configuration, connecting a source connector to collections via bindings.
Instructions
Publish a capture. Writes the spec to a temporary flow.yaml and runs flowctl catalog publish --source flow.yaml --auto-approve.
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>",
"bindings": "<bindings>"
},
"name": "create_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Connector image tag | v1 |
| name | Yes | Capture name, e.g. 'acmeCo/production/source-postgres' | |
| config | Yes | Endpoint configuration | |
| bindings | Yes | Resource-to-collection bindings (run discover_bindings first if unknown) | |
| connector | Yes | Connector, e.g. 'source-postgres' |