dryrun_pipeline
Validates a pipeline against sample JSON/NDJSON data without writing to the database, so you can verify inline YAML or a saved pipeline before use.
Instructions
Test a pipeline with sample data without writing to the database.
You can test a pipeline in two ways:
- Provide 'pipeline' with inline YAML configuration
- Provide 'pipeline_name' to test a previously saved pipeline
Args:
pipeline: Pipeline YAML configuration (inline)
pipeline_name: Name of saved pipeline (mutually exclusive with pipeline)
data: Test data in JSON/NDJSON format
data_type: Optional content type (e.g., 'application/x-ndjson')
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": {
"data": "<data>"
},
"name": "dryrun_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Test data in JSON or NDJSON format (single object or array) | |
| pipeline | No | Pipeline configuration in YAML format (inline). Provide this to test a pipeline without saving it. | |
| data_type | No | Content type of the data (e.g., 'application/x-ndjson'). If omitted, GreptimeDB will use default. | |
| pipeline_name | No | Name of the saved pipeline to test. Provide either 'pipeline' or 'pipeline_name', not both. |