restart_job_with_sampling
Restart a streaming job with a new SQL query and configure sampling parameters like interval and message sampling to control data rate.
Instructions
Restart a job with new SQL and proper sampling configuration.
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": {
"job_id": "<job_id>",
"sql_query": "<sql_query>"
},
"name": "restart_job_with_sampling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| sql_query | Yes | ||
| sample_interval | No | ||
| sample_all_messages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |