get_stream_schema
Retrieve field names and data types for one or more log streams from an OpenObserve instance. Schemas are fetched in parallel and cached for 10 minutes.
Instructions
Return the field names and data types for one or more log streams on an OpenObserve instance. Accepts a single stream name or an array; schemas are fetched in parallel. Results are cached for 10 minutes.
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": {
"instance": "<instance>",
"streams": "<streams>"
},
"name": "get_stream_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| streams | Yes | Stream name or array of stream names to get schemas for | |
| instance | Yes | Instance ID to query |