query_schema
Retrieve JSON schema and type information for a record to understand its structure and expected format before setting values.
Instructions
Get JSON schema and type information for a record.
Returns the data structure, field types, and metadata. Use this before setting record values to understand expected format.
Schema is inferred from current value + database metadata.
š” TIP: Field names like 'celsius', 'timestamp', 'sensor_id' carry semantic meaning. If units or formats are unclear, ask the user for clarification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | No | Endpoint URL (unix://PATH, serial://DEVICE?baud=N) or a bare path. Falls back to AIMDB_CONNECT env var if omitted. | |
| record_name | Yes | Name of the record to query schema for (e.g., server::Temperature) | |
| include_example | No | Include current value as example (default: true) |