StreamSchema
Retrieve field names and types for an OpenObserve stream before writing SQL against it, so queries use the correct schema.
Instructions
Field names and types for one OpenObserve stream. Call this before writing SQL against a stream you have not queried before.
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": "<stream>"
},
"name": "StreamSchema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream | Yes | Stream name, as StreamList reports it. |