get_stream_schema
Confirm real field names in a stream schema before writing SQL queries. Many log streams expose 'message' not 'log'. Increase fields_limit to inspect more fields.
Instructions
Get schema information for a specific stream. Use this first to confirm real field names before writing SQL; many log streams expose message rather than log. Increase fields_limit to inspect more fields from large schemas.
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": {
"stream_name": "<stream_name>"
},
"name": "get_stream_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream_name | Yes | ||
| fields_limit | No | ||
| include_raw | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||