Update mcp tool universe

Add rag utility
This commit is contained in:
shahondin1624
2026-02-14 17:59:18 +01:00
parent 3ced9db623
commit a0e36a7fe2
19 changed files with 970 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
# DSL Documentation Guide
## DiagnosticService
The `DiagnosticService` is the core component for managing diagnostics in the system.
It allows you to define diagnostic rules and actions.
Example:
```dsl
DiagnosticService {
rule "CheckEngineLight" {
condition: engine.status == ERROR
action: notify("Engine error detected")
}
}
```
## NotificationService
The `NotificationService` handles sending notifications to various channels.
Example:
```dsl
NotificationService {
channel "Email" {
address: "admin@example.com"
}
}
```
## DataProcessor
The `DataProcessor` is used for processing incoming data streams.
It supports various transformation functions.
Example:
```dsl
DataProcessor {
input: "sensor_data"
transform: map(value -> value * 2)
output: "processed_data"
}
```

View File

@@ -0,0 +1,17 @@
# DSL Syntax Guide: DiagnosticService
To define a diagnostic service in the OTX/ODX abstraction layer, use the `DiagnosticService` keyword.
## Syntax
```dsl
DiagnosticService <ServiceName> {
request: <HexCode>
response: <HexCode>
timeout: <Integer> ms
}
```
## Rules
* The service name must be UpperCamelCase.
* Timeouts are strictly defined in milliseconds.
* Use the `extends` keyword to inherit properties from a base service.

View File

@@ -0,0 +1,12 @@
# Working with Units
The DSL strictly types physical units to prevent conversion errors between OTX and ODX.
## Defining a Unit
Use the `Unit` keyword followed by the display symbol.
Example:
`Unit Speed [km/h]`
## Common Errors
Never use string literals for units in a `DiagnosticService`. Always reference the typed Unit definition.