execute_query_with_sampling
Execute SQL queries with configurable sampling interval, count, window size, and option to sample all messages for efficient stream analysis.
Instructions
Execute a SQL query with 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": {
"sql_query": "<sql_query>"
},
"name": "execute_query_with_sampling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql_query | Yes | ||
| window_size | No | ||
| sample_count | No | ||
| sample_interval | No | ||
| sample_all_messages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |