discover_log_schema
Infer log format and type schemas from file samples, including key polymorphism and timestamp regex patterns.
Instructions
Analyze a log file to infer format and type schemas, including key type polymorphism and regex patterns for timestamps.
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": {
"file_path": "<file_path>"
},
"name": "discover_log_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the log file | |
| sample_size | No | Number of lines to sample for schema detection |